fix all remaining compilation errors and issues
This commit is contained in:
@@ -42,10 +42,6 @@ public class GriefDetectPlugin extends JavaPlugin {
|
|||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
// Cleanup resources
|
// Cleanup resources
|
||||||
if (detectionEngine != null) {
|
|
||||||
detectionEngine.shutdown();
|
|
||||||
}
|
|
||||||
|
|
||||||
getLogger().info("GriefDetect disabled");
|
getLogger().info("GriefDetect disabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ public class DetectionEngine implements Listener {
|
|||||||
asyncExecutor.shutdownNow();
|
asyncExecutor.shutdownNow();
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
}
|
}
|
||||||
|
plugin.getLogger().info("Detection engine stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user