uhc kit fix
This commit is contained in:
@@ -107,6 +107,14 @@ public class WolfFfaCommand implements CommandExecutor, TabCompleter {
|
|||||||
player.getInventory().setItem(24, water);
|
player.getInventory().setItem(24, water);
|
||||||
player.getInventory().setItem(40, shield);
|
player.getInventory().setItem(40, shield);
|
||||||
|
|
||||||
|
World world = Bukkit.getWorld("world");
|
||||||
|
double x = 0.5;
|
||||||
|
double y = 1.0;
|
||||||
|
double z = -1000.5;
|
||||||
|
float yaw = (float) 0;
|
||||||
|
float pitch = (float) 0;
|
||||||
|
Location loc = new Location(world, x, y, z, yaw, pitch);
|
||||||
|
player.teleport(loc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user