From 51e1191816342610faf0042e80f3ae44977030d8 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 13 Aug 2020 22:14:12 -0500 Subject: [PATCH] Increase range on tpr --- .../totalfreedommod/command/Command_tprandom.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_tprandom.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_tprandom.java index 88917974..fa57e979 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_tprandom.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_tprandom.java @@ -15,8 +15,8 @@ public class Command_tprandom extends FreedomCommand @Override public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) { - int x = FUtil.randomInteger(-10000, 10000); - int z = FUtil.randomInteger(-10000, 10000); + int x = FUtil.randomInteger(-50000, 50000); + int z = FUtil.randomInteger(-50000, 50000); int y = playerSender.getWorld().getHighestBlockYAt(x, z); Location location = new Location(playerSender.getLocation().getWorld(), x, y, z); playerSender.teleport(location);