Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onWater(PlayerMoveEvent e) {
- if (e.getPlayer().getLocation().getBlockY() < 70) {
- e.getPlayer().performCommand("spawn");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement