diff options
Diffstat (limited to 'patches/server/0454-Add-WorldGameRuleChangeEvent.patch')
-rw-r--r-- | patches/server/0454-Add-WorldGameRuleChangeEvent.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0454-Add-WorldGameRuleChangeEvent.patch b/patches/server/0454-Add-WorldGameRuleChangeEvent.patch index 5e011c5b51..7a4dad089b 100644 --- a/patches/server/0454-Add-WorldGameRuleChangeEvent.patch +++ b/patches/server/0454-Add-WorldGameRuleChangeEvent.patch @@ -64,10 +64,10 @@ index 7ea92a0b0f5d4eb6bd873e61c42bc0499d5d2028..09299e45552eb998fd02123c3921c065 public int get() { diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 2ad9c104c7a99882417f9662d657841636751223..5304fb017b6ecda3ff96e1e44be444260fd8d715 100644 +index 4667115d0dbb7b170187b108586bdbb9d5bdb4d5..9f70f42c0f7d9b86836b26fd4712ec07029d9698 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1879,9 +1879,14 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1880,9 +1880,14 @@ public class CraftWorld extends CraftRegionAccessor implements World { if (rule == null || value == null) return false; if (!this.isGameRule(rule)) return false; @@ -83,7 +83,7 @@ index 2ad9c104c7a99882417f9662d657841636751223..5304fb017b6ecda3ff96e1e44be44426 handle.onChanged(this.getHandle()); return true; } -@@ -1916,9 +1921,13 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1917,9 +1922,13 @@ public class CraftWorld extends CraftRegionAccessor implements World { Preconditions.checkArgument(newValue != null, "GameRule value cannot be null"); if (!this.isGameRule(rule.getName())) return false; |