From 8c06a740d5cce09734003ebe6309f9cc57cf44e6 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Tue, 26 Mar 2024 21:26:53 +0100 Subject: [PATCH] fix: Remove unused boolean variable related to the old license system --- Core/src/main/java/com/craftaro/core/SongodaPlugin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/main/java/com/craftaro/core/SongodaPlugin.java b/Core/src/main/java/com/craftaro/core/SongodaPlugin.java index 039fe838..87b03ecb 100644 --- a/Core/src/main/java/com/craftaro/core/SongodaPlugin.java +++ b/Core/src/main/java/com/craftaro/core/SongodaPlugin.java @@ -34,7 +34,6 @@ public abstract class SongodaPlugin extends JavaPlugin { protected DataManager dataManager; protected long dataLoadDelay = 20L; - private boolean licensePreventedPluginLoad = false; private boolean emergencyStop = false; private final HookRegistryManager hookRegistryManager = new HookRegistryManager(this); @@ -190,7 +189,7 @@ public abstract class SongodaPlugin extends JavaPlugin { @Override public final void onDisable() { - if (this.emergencyStop || this.licensePreventedPluginLoad) { + if (this.emergencyStop) { return; }