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
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

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