Merge pull request #484 from James103/patch-1

Fixes gnembon/fabric-carpet#483
This commit is contained in:
gnembon authored and GitHub committed 2020-09-28 23:42:27 -03:00
commit d072d80df0
1 file changed
+1 -1
+1 -1
View File
@@ -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";}