From 09c0eb846e693ab525f5ff47809e413bde8eaefd Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Thu, 19 Jul 2018 12:55:47 +0200 Subject: [PATCH] /bsb range set : allow to set a value which is = to the max range --- .../bskyblock/commands/admin/range/AdminRangeSetCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/tastybento/bskyblock/commands/admin/range/AdminRangeSetCommand.java b/src/main/java/us/tastybento/bskyblock/commands/admin/range/AdminRangeSetCommand.java index 0cd3c0674..1bed9d84b 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/admin/range/AdminRangeSetCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/admin/range/AdminRangeSetCommand.java @@ -56,7 +56,7 @@ public class AdminRangeSetCommand extends CompositeCommand { user.sendMessage("commands.admin.range.set.invalid-value.too-low", TextVariables.NUMBER, args.get(1)); return false; } - if (range >= island.getRange()) { + if (range > island.getRange()) { user.sendMessage("commands.admin.range.set.invalid-value.too-high", TextVariables.NUMBER, args.get(1)); return false; }