Update disableGameRuleLimits casing
This commit is contained in:
parent
47f0eb6fb7
commit
95022a668f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
public class GameRules {
|
public class GameRules {
|
||||||
|
|
||||||
+ // Paper start - allow disabling gamerule limits
|
+ // Paper start - allow disabling gamerule limits
|
||||||
+ private static final boolean DISABLE_LIMITS = Boolean.getBoolean("Paper.DisableGameRuleLimits");
|
+ private static final boolean DISABLE_LIMITS = Boolean.getBoolean("paper.disableGameRuleLimits");
|
||||||
+
|
+
|
||||||
+ private static int limit(final int limit, final int unlimited) {
|
+ private static int limit(final int limit, final int unlimited) {
|
||||||
+ return DISABLE_LIMITS ? unlimited : limit;
|
+ return DISABLE_LIMITS ? unlimited : limit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue