mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-22 08:02:31 +01:00
Clear command cache after unregistering a command
This commit is contained in:
parent
cdaef2b4f0
commit
20c947650f
@ -60,6 +60,9 @@ public class CommandDispatcher {
|
||||
}
|
||||
|
||||
this.commands.remove(command);
|
||||
|
||||
// Clear cache
|
||||
this.cache.invalidateAll();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
Loading…
Reference in New Issue
Block a user