Clear command cache after unregistering a command

This commit is contained in:
TheMode 2021-04-12 22:45:45 +02:00
parent cdaef2b4f0
commit 20c947650f

View File

@ -60,6 +60,9 @@ public class CommandDispatcher {
}
this.commands.remove(command);
// Clear cache
this.cache.invalidateAll();
}
@NotNull