diff --git a/shop/src/main/java/me/totalfreedom/shop/TFShoppe.java b/shop/src/main/java/me/totalfreedom/shop/TFShoppe.java index 9c627c7d..bd66af34 100644 --- a/shop/src/main/java/me/totalfreedom/shop/TFShoppe.java +++ b/shop/src/main/java/me/totalfreedom/shop/TFShoppe.java @@ -27,7 +27,7 @@ public class TFShoppe extends JavaPlugin if (plugin == null) { slf4j().error("TotalFreedomMod not found! Disabling..."); - onDisable(); + getServer().getPluginManager().disablePlugin(this); return; }