SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player[] players = plugin.getServer().getOnlinePlayers();
  2. for (Player player : players) {
  3.     player.teleport(spawnLocation);
  4.         player.getWorld().refreshChunk(spawnLocation.getChunk().getX(), spawnLocation.getChunk().getZ());
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top