Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(arenaClass.players.size() <= 6){
- int locX = plugin.getConfig().getInt("ArenaLocation" + ".X");
- int locY = plugin.getConfig().getInt("ArenaLocation" + ".Y");
- int locZ = plugin.getConfig().getInt("ArenaLocation" + ".Z");
- int locYaw = plugin.getConfig().getInt("ArenaLocation" + ".Yaw");
- int locPitch = plugin.getConfig().getInt("ArenaLocation" + ".Pitch");
- Object locWorld = plugin.getConfig().get("ArenaLocation" + ".World");
- player.teleport(new Location((World) locWorld, locX, locY, locZ, locPitch, locYaw));
- arenaClass.players.add(player.getName());
- }else{
- player.sendMessage(ChatColor.RED + "Game full, you must wait till the round ends");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement