Merge pull request #484 from James103/patch-1
Fixes gnembon/fabric-carpet#483
This commit is contained in:
1 file changed
+1
-1
@@ -415,7 +415,7 @@ public class CarpetSettings
|
||||
|
||||
private static class FillLimitLimits extends Validator<Integer> {
|
||||
@Override public Integer validate(ServerCommandSource source, ParsedRule<Integer> currentRule, Integer newValue, String string) {
|
||||
return (newValue>0 && newValue < 20000000) ? newValue : null;
|
||||
return (newValue>0 && newValue <= 20000000) ? newValue : null;
|
||||
}
|
||||
@Override
|
||||
public String description() { return "You must choose a value from 1 to 20M";}
|
||||
|
||||
Reference in new issue
Block a user