Generic cleanup

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot committed 2011-06-12 01:18:17 +02:00
1 parent da51cfa4b1
commit c5408f1030
9 files changed
+142 -134

No files matched your search

@@ -137,7 +137,7 @@ public final class SimpleCommandMap implements CommandMap {
}
public synchronized void clearCommands() {
for (Map.Entry<String,Command> entry : knownCommands.entrySet()) {
for (Map.Entry<String, Command> entry : knownCommands.entrySet()) {
entry.getValue().unregister(this);
}
knownCommands.clear();