Fix being unable to switch worlds while self disguised (paper?), fixes #476

This commit is contained in:
libraryaddict
2020-06-14 12:47:43 +12:00
parent a19b9e4023
commit f12c1192e1
3 changed files with 18 additions and 16 deletions

View File

@@ -171,10 +171,6 @@ public class LibsDisguises extends JavaPlugin {
new MetricsInitalizer();
}
private void startTask() {
}
public void unregisterCommands(boolean force) {
CommandMap map = ReflectionManager.getCommandMap();
Map<String, Command> commands = ReflectionManager.getCommands(map);