1.3.0 full release

This commit is contained in:
Tyler Murphy 2021-10-24 21:21:26 -04:00
parent 4d1fa2f90c
commit 9120d6ff9d

View file

@ -70,9 +70,6 @@ public class Tick {
if(gameLength > 0) { if(gameLength > 0) {
Main.plugin.board.reloadGameBoards(); Main.plugin.board.reloadGameBoards();
Main.plugin.timeLeft--; Main.plugin.timeLeft--;
for(Player player : Main.plugin.board.getPlayers()) {
player.setLevel(Main.plugin.timeLeft);
}
if(Main.plugin.timeLeft < 1) { if(Main.plugin.timeLeft < 1) {
if(announceMessagesToNonPlayers) Bukkit.broadcastMessage(gameoverPrefix + message("GAME_GAMEOVER_TIME")); if(announceMessagesToNonPlayers) Bukkit.broadcastMessage(gameoverPrefix + message("GAME_GAMEOVER_TIME"));
else Util.broadcastMessage(gameoverPrefix + message("GAME_GAMEOVER_TIME")); else Util.broadcastMessage(gameoverPrefix + message("GAME_GAMEOVER_TIME"));