Fix NPE for command getter on plugin disable
This commit is contained in:
parent
f6a39b4e58
commit
259c53c0eb
@ -26,8 +26,6 @@ public class InvTweaksPlugin extends JavaPlugin {
|
||||
public void onDisable() {
|
||||
logger.info("Inventory Tweaks disabled");
|
||||
|
||||
getCommand("sort").setExecutor(null);
|
||||
|
||||
HandlerList.unregisterAll(this);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user