From cbd3caaab38507aa7131e4bbc90a4f2af2cbaa6d Mon Sep 17 00:00:00 2001 From: Paul Reilly Date: Fri, 10 Mar 2023 19:27:20 -0600 Subject: [PATCH] Another fix --- shop/src/main/java/me/totalfreedom/shop/TFShoppe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }