Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void regenerate(Arena arena) {
- //kick any remaining players (there shouldn't be any if the game went smoothly in the arena)
- for(Player p : Bukkit.getOnlinePlayers()){
- if(p.getWorld().getName().equals(arena.config.worldName)){
- p.teleport(new Location(Bukkit.getWorld("Spawn"), 1025, 65, -760));
- }
Advertisement
Add Comment
Please, Sign In to add comment