mirror of
https://github.com/darksaid98/EntityBingo.git
synced 2026-12-02 08:08:46 +00:00
final pass before 1.0
This commit is contained in:
1 parent
3171cfe8de
commit
b69e67564c
1 file changed
+5
@@ -109,6 +109,11 @@ public class EntityBingoCommand implements CommandExecutor, TabCompleter {
|
||||
return true;
|
||||
}
|
||||
|
||||
if(EntityBingo.getCurrrentEvent() == null) {
|
||||
p.sendMessage(Helper.chatLabel() + Helper.color("&cCleared all entries in the " + (EntityBingo.getCurrrentEvent().isDone() ? "previous" : "current") + " event. This won't effect the scoreboard."));
|
||||
Bukkit.broadcastMessage(Helper.chatLabel() + Helper.color("&cEntries cleared by an admin!"));
|
||||
EntityBingo.getInstance().getLogger().info(Helper.color("&cEntries cleared by an admin!"));
|
||||
}
|
||||
//clear entry pool
|
||||
EntityBingo.getCurrrentEvent().getEntries().clear();
|
||||
p.sendMessage(Helper.chatLabel() + Helper.color("&cCleared all entries in the " + (EntityBingo.getCurrrentEvent().isDone() ? "previous" : "current") + " event. This won't effect the scoreboard."));
|
||||
|
||||
Reference in new issue
Block a user