mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05: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();
|
||||
|
||||
Reference in new issue
Block a user