Clear the command/method map after registration

This commit is contained in:
Jesse Boyd
2018-08-14 00:39:19 +10:00
parent 0632a9ce96
commit 1601ea07a8

View File

@ -244,6 +244,9 @@ public final class CommandManager {
}
}
commandMap.clear();
methodMap.clear();
dispatcher = graph
.group("/anvil")
.describeAs("Anvil command")