diff options
author | Jason Penilla <[email protected]> | 2024-07-28 13:08:40 -0700 |
---|---|---|
committer | Jason Penilla <[email protected]> | 2024-07-28 13:37:01 -0700 |
commit | 5af4925b08498907297f2060c5b259c79d9593d2 (patch) | |
tree | 0e2253c4b078e7092a652824447f3dad1fa834a9 /patches/server/0999-Anti-Xray.patch | |
parent | f82bea6940086218a280eba23a4c2ce373921c2f (diff) | |
download | Paper-5af4925b08498907297f2060c5b259c79d9593d2.tar.gz Paper-5af4925b08498907297f2060c5b259c79d9593d2.zip |
Fixup porting issue in vanillaBiomeProvider impl
Diffstat (limited to 'patches/server/0999-Anti-Xray.patch')
-rw-r--r-- | patches/server/0999-Anti-Xray.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0999-Anti-Xray.patch b/patches/server/0999-Anti-Xray.patch index 9efe1e1c24..e4d6d35866 100644 --- a/patches/server/0999-Anti-Xray.patch +++ b/patches/server/0999-Anti-Xray.patch @@ -1155,7 +1155,7 @@ index 32634e45ac8433648e49e47e20081e15ad41ff15..dafa2cf7d3c49fc5bdcd68d2a9528127 if (io.papermc.paper.event.packet.PlayerChunkLoadEvent.getHandlerList().getRegisteredListeners().length > 0) { new io.papermc.paper.event.packet.PlayerChunkLoadEvent(new org.bukkit.craftbukkit.CraftChunk(chunk), handler.getPlayer().getBukkitEntity()).callEvent(); diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java -index 9b1a6d8351fb473eec75a2fd08fb892b770e3586..0d0b07c9199be9ca0d5ac3feb1d44f149ba69283 100644 +index eec536d493575f593dd71c63944b047566f3822d..0a97d45f96b3b3cd12fa99373fcb5999c3fba96b 100644 --- a/src/main/java/net/minecraft/server/players/PlayerList.java +++ b/src/main/java/net/minecraft/server/players/PlayerList.java @@ -414,7 +414,7 @@ public abstract class PlayerList { @@ -1587,10 +1587,10 @@ index cc1f3c7fec4fa794da0b19f44ced9fd482dfdfc7..3a91faeb6957e4e783b1de3e1145e7d1 @Override diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 5ad2ceb1274648631689215702a12463c681152c..86ed89a2eae5f36d902cd8dc4bd0389e066b4bba 100644 +index 848acade140c7876e6e7788db4716319cf74c792..0494bbb4c5cd9b2c9d5f58c6f4890625ef0d6c25 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -465,11 +465,16 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -471,11 +471,16 @@ public class CraftWorld extends CraftRegionAccessor implements World { List<ServerPlayer> playersInRange = playerChunk.playerProvider.getPlayers(playerChunk.getPos(), false); if (playersInRange.isEmpty()) return true; // Paper - chunk system |