mirror of
https://github.com/darksaid98/EntityBingo.git
synced 2026-12-01 15:58:46 +00:00
listener logic completion and refactor
This commit is contained in:
1 parent
f8c14bf0b9
commit
f4d6bb660d
3 files changed
+110
-61
No files matched your search
@@ -2,6 +2,7 @@ package org.aubrithehuman.entitybingo;
|
||||
|
||||
import org.aubrithehuman.entitybingo.command.EntityBingoCommand;
|
||||
import org.aubrithehuman.entitybingo.listeners.ChatListener;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public final class EntityBingo extends JavaPlugin {
|
||||
@@ -30,7 +31,10 @@ public final class EntityBingo extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
// Plugin shutdown logic
|
||||
if(currrentEvent != null) {
|
||||
Bukkit.broadcastMessage(ChatListener.chatLabel() + "Server Shutting down, clearing Bingo Event without results!");
|
||||
currrentEvent = null;
|
||||
}
|
||||
}
|
||||
|
||||
public static EntityBingo getInstance() {
|
||||
|
||||
Reference in new issue
Block a user