aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0456-Add-WorldGameRuleChangeEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0456-Add-WorldGameRuleChangeEvent.patch')
-rw-r--r--patches/server/0456-Add-WorldGameRuleChangeEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0456-Add-WorldGameRuleChangeEvent.patch b/patches/server/0456-Add-WorldGameRuleChangeEvent.patch
index b03d1f41d6..de28ea7306 100644
--- a/patches/server/0456-Add-WorldGameRuleChangeEvent.patch
+++ b/patches/server/0456-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 b0fbb828306194fd91f0e62244d5db6404b4f10a..e19e5f1223f8b4fae9292a936dd05b9170610134 100644
+index 3ff0a43907cbe2cb4e54c57d9ac735dc0dd7f8f4..bacc00be9466d5253df668336bb83542b759f9d2 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-@@ -1899,9 +1899,14 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -1891,9 +1891,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 b0fbb828306194fd91f0e62244d5db6404b4f10a..e19e5f1223f8b4fae9292a936dd05b91
handle.onChanged(this.getHandle());
return true;
}
-@@ -1936,9 +1941,13 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -1928,9 +1933,13 @@ public class CraftWorld extends CraftRegionAccessor implements World {
Preconditions.checkArgument(newValue != null, "GameRule value cannot be null");
if (!this.isGameRule(rule.getName())) return false;