Add chat system to TowerRun

This commit is contained in:
2025-04-18 10:07:42 +02:00
parent 2094120150
commit ace567ba33
4 changed files with 60 additions and 33 deletions
@@ -46,6 +46,10 @@ public class TowerRunGame {
public static final List<TowerRunPlayer> PLAYERS_ESCAPED = new ArrayList<>();
private static final World world = Bukkit.getWorlds().get(0);
public static boolean isEscaped(TowerRunPlayer player) {
return PLAYERS_ESCAPED.contains(player);
}
public static boolean isAlive(TowerRunPlayer player) {
return PLAYERS_ALIVE.contains(player);
}