mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Update disableGameRuleLimits casing
This commit is contained in:
parent
47f0eb6fb7
commit
95022a668f
@ -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…
Reference in New Issue
Block a user