Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(args[0].equalsIgnoreCase("join")){
- if(args[1].equalsIgnoreCase(args[1])){
- if(args[1] == null){
- Bukkit.broadcastMessage("Working");
- player.sendMessage("§7[§41§cv§41§7]: §4You must Type an Arena or the Arena doesn't exist!");
- }
- if(args[1] != null){
- Bukkit.broadcastMessage("§7[§41§cv§41§7]: §4 " + player.getName() + " §2Has Joined§4 " + arenaname);
- final World w1 = Bukkit.getWorld((String) getConfig().get(arenaname + ".spawn1.world"));
- final double x1 = getConfig().getDouble(arenaname + ".spawn1.x");
- final double y1 = getConfig().getDouble(arenaname + ".spawn1.y");
- final double z1 = getConfig().getDouble(arenaname + ".spawn1.z");
- final World w2 = Bukkit.getWorld((String) getConfig().get(arenaname + ".spawn2.world"));
- final double x2 = getConfig().getDouble(arenaname + ".spawn2.x");
- final double y2 = getConfig().getDouble(arenaname + ".spawn2.y");
- final double z2 = getConfig().getDouble(arenaname + ".spawn2.z");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement