diff options
3 files changed, 5 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java b/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java index 9c0a34698..a1db8e0b2 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java @@ -14,6 +14,7 @@ public class Commandbreak extends EssentialsCommand super("break"); } + //TODO: Switch to use util class @Override public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbutcher.java b/Essentials/src/com/earth2me/essentials/commands/Commandbutcher.java index b5f43e2d9..fa628f8e0 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbutcher.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbutcher.java @@ -29,6 +29,7 @@ public class Commandbutcher extends EssentialsCommand super("butcher"); } + //TODO: Tidy - missed this during command cleanup @Override public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java index 18fb798af..0afcf1650 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java @@ -19,7 +19,7 @@ public class Commandnear extends EssentialsCommand @Override protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { - long radius = 100; + long radius = 200; User otherUser = null; if (args.length > 0) @@ -72,7 +72,7 @@ public class Commandnear extends EssentialsCommand { throw new NotEnoughArgumentsException(); } - long radius = 100; + long radius = 200; if (args.length > 1) { try @@ -111,7 +111,7 @@ public class Commandnear extends EssentialsCommand { output.append(", "); } - output.append(player.getDisplayName()).append("§f(§4").append(Math.sqrt(delta)).append("m§f)"); + output.append(player.getDisplayName()).append("§f(§4").append((long)Math.sqrt(delta)).append("m§f)"); } } } |