From 554f93a9a523936ca2518c8e6ff1bb4f12623b87 Mon Sep 17 00:00:00 2001 From: Robinson Gallego Date: Mon, 10 Feb 2020 15:23:51 -0500 Subject: [PATCH] i think this is how it works --- .../src/com/earth2me/essentials/commands/Commandnear.java | 4 ++++ pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java index 80372d2a2..fa02bcf21 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java @@ -28,6 +28,10 @@ public class Commandnear extends EssentialsCommand { maxRadius = 200; } + if (maxRadius < 200) { + maxRadius = 200; + } + long radius = maxRadius; User otherUser = null; diff --git a/pom.xml b/pom.xml index 6ef9b21eb..5c4160e83 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ org.bukkit bukkit - 1.15-R0.1-SNAPSHOT + 1.15.2-R0.1-SNAPSHOT provided