forked from SteamWar/SteamWar
Add chat system to TowerRun
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user