node-minecraft-data
node-minecraft-data copied to clipboard
isNewerOrEqualTo throws TypeError when comparing 2 different version types
E.g when you're trying to compare PE version with PC one It should probably just return false instead
I think an exception is pretty good since that comparison doesn't make sense
Exception with error message is good indeed, TypeError is not