diff options
author | Owen <[email protected]> | 2022-06-01 22:08:51 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-02 03:08:51 +0100 |
commit | b1ac25fdb8e2c011cc0b006d0b478e11879a29d8 (patch) | |
tree | fe1ed244b4d9cc92ef35fdf82799744c9dba7f97 /patches/server/0561-Added-WorldGameRuleChangeEvent.patch | |
parent | 71fe3c64f0321143dd61a9e7b3a99d966a459cae (diff) | |
download | Paper-b1ac25fdb8e2c011cc0b006d0b478e11879a29d8.tar.gz Paper-b1ac25fdb8e2c011cc0b006d0b478e11879a29d8.zip |
Respect x-ray permission in World#refreshChunk (#7214)
Co-authored-by: stonar96 <[email protected]>
Diffstat (limited to 'patches/server/0561-Added-WorldGameRuleChangeEvent.patch')
-rw-r--r-- | patches/server/0561-Added-WorldGameRuleChangeEvent.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0561-Added-WorldGameRuleChangeEvent.patch b/patches/server/0561-Added-WorldGameRuleChangeEvent.patch index b3bcca55e6..3cafbb1d1c 100644 --- a/patches/server/0561-Added-WorldGameRuleChangeEvent.patch +++ b/patches/server/0561-Added-WorldGameRuleChangeEvent.patch @@ -64,10 +64,10 @@ index 74e10d581f8c1b0b026d8f940194971efbdef434..798afc145c54306fcf0838d8daef2bdf public int get() { diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 8a5bb077ffb2e88bea813fd89023f2d057526417..f56a0c203b7d459b7a59419d0cf8bc33002289f4 100644 +index c39d5dd9602fe35b4936f01089a3b2048ef0c9bf..b0e5da5c4515b580b2655cf5a9cb74d1bd9dd9a1 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1798,8 +1798,13 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1803,8 +1803,13 @@ public class CraftWorld extends CraftRegionAccessor implements World { if (!this.isGameRule(rule)) return false; @@ -82,7 +82,7 @@ index 8a5bb077ffb2e88bea813fd89023f2d057526417..f56a0c203b7d459b7a59419d0cf8bc33 handle.onChanged(this.getHandle().getServer()); return true; } -@@ -1834,8 +1839,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1839,8 +1844,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { if (!this.isGameRule(rule.getName())) return false; |