thaz

Untitled

Dec 24th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public void regenerate(Arena arena) {
  2. //kick any remaining players (there shouldn't be any if the game went smoothly in the arena)
  3. for(Player p : Bukkit.getOnlinePlayers()){
  4. if(p.getWorld().getName().equals(arena.config.worldName)){
  5. p.teleport(new Location(Bukkit.getWorld("Spawn"), 1025, 65, -760));
  6. }
Advertisement
Add Comment
Please, Sign In to add comment