[Forge] Add creative use mode and cheat mode and fix config overwrite.

This commit is contained in:
sk89q
2014-11-14 18:23:43 -08:00
parent 3bee2d4c02
commit 052addbc05
7 changed files with 45 additions and 50 deletions

View File

@ -224,7 +224,7 @@ public final class CommandManager {
try {
dispatcher.call(Joiner.on(" ").join(split), locals, new String[0]);
} catch (CommandPermissionsException e) {
actor.printError("You don't have permission to do this.");
actor.printError("You are not permitted to do that. Are you in the right mode?");
} catch (InvalidUsageException e) {
if (e.isFullHelpSuggested()) {
actor.printRaw(ColorCodeBuilder.asColorCodes(new CommandUsageBox(e.getCommand(), e.getCommandUsed("/", ""), locals)));