aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0454-Add-WorldGameRuleChangeEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0454-Add-WorldGameRuleChangeEvent.patch')
-rw-r--r--patches/server/0454-Add-WorldGameRuleChangeEvent.patch6
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..a2d6d932ee 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 8d2d5cae4de522676cc4764f8b36f93744f3c890..8fc7192b8eb56fb1411391153e37ae654af9b68e 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 {
+@@ -1884,9 +1884,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 {
+@@ -1921,9 +1926,13 @@ public class CraftWorld extends CraftRegionAccessor implements World {
Preconditions.checkArgument(newValue != null, "GameRule value cannot be null");
if (!this.isGameRule(rule.getName())) return false;