mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-21 16:47:39 +01:00
/bsb range set : allow to set a value which is = to the max range
This commit is contained in:
parent
4df9f89e3e
commit
09c0eb846e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user