GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.88k stars 271 forks source link

i18n: Commands E-O #1001

Closed Pr0methean closed 5 years ago

Pr0methean commented 5 years ago

Localizes commands E through O. Also properly logs when /op or /deop fails with an exception, with a localized message, replacing ex.printStackTrace().

Once this is merged, 20 of all 49 commands will have been i18nized, up from 8.

Also deploys the utility method CommandUtils.toNamespaced to append the minecraft: prefix when no namespace prefix is present, but make no change when an explicit namespace is present. This probably creates better error messages if a command is unsupported by Glowstone.