mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-12-04 07:53:23 +01:00
fix: Remove unused boolean variable related to the old license system
This commit is contained in:
parent
c241224b64
commit
8c06a740d5
@ -34,7 +34,6 @@ public abstract class SongodaPlugin extends JavaPlugin {
|
|||||||
protected DataManager dataManager;
|
protected DataManager dataManager;
|
||||||
protected long dataLoadDelay = 20L;
|
protected long dataLoadDelay = 20L;
|
||||||
|
|
||||||
private boolean licensePreventedPluginLoad = false;
|
|
||||||
private boolean emergencyStop = false;
|
private boolean emergencyStop = false;
|
||||||
|
|
||||||
private final HookRegistryManager hookRegistryManager = new HookRegistryManager(this);
|
private final HookRegistryManager hookRegistryManager = new HookRegistryManager(this);
|
||||||
@ -190,7 +189,7 @@ public abstract class SongodaPlugin extends JavaPlugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final void onDisable() {
|
public final void onDisable() {
|
||||||
if (this.emergencyStop || this.licensePreventedPluginLoad) {
|
if (this.emergencyStop) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user