mirror of
https://github.com/darksaid98/EntityBingo.git
synced 2026-12-03 16:38:51 +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;
|
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
|
//clear entry pool
|
||||||
EntityBingo.getCurrrentEvent().getEntries().clear();
|
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."));
|
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