0

Removed debug statements and uncommented 2 lines of code

This commit is contained in:
Minenash
2019-01-13 00:35:34 -05:00
parent ff281241b5
commit 3df8bfa31a

View File

@@ -338,7 +338,6 @@ public class CommandManager {
Map<String, org.bukkit.command.Command> knownCommands = (Map<String, org.bukkit.command.Command>) knownCommandsField.get(map);
fallback = fallback.toLowerCase();
System.out.println(fallback);
List<String> toRemove = new ArrayList<>();
@@ -350,10 +349,9 @@ public class CommandManager {
}
}
for (String key : toRemove) {
//EmptyCommand emptyCommand = new EmptyCommand(key);
EmptyCommand emptyCommand = new EmptyCommand(key);
knownCommands.remove(key);
//map.register(key, emptyCommand);
System.out.println("Unregestered " + key);
map.register(key, emptyCommand);
}