diff options
Diffstat (limited to 'patches/server/0988-Moonrise-optimisation-patches.patch')
-rw-r--r-- | patches/server/0988-Moonrise-optimisation-patches.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/server/0988-Moonrise-optimisation-patches.patch b/patches/server/0988-Moonrise-optimisation-patches.patch index afc78211ab..61d170ab03 100644 --- a/patches/server/0988-Moonrise-optimisation-patches.patch +++ b/patches/server/0988-Moonrise-optimisation-patches.patch @@ -25579,7 +25579,7 @@ index 1d849ce4e2c85f149af25318b8ffb6dcef6c6788..12d86f27d04bffed8c3844e36b42fbc2 if (!list.equals(this.lastPassengers)) { diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index c97292f22a3402dbd59cef4af554954dc1d4f91a..c759555241649cf5b355268066375341a54477f2 100644 +index 81f0a0dfefd9e1698548a68679dab0974921c37a..0d880ad0f480cccf73b30ec2295d5109be3389f0 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java @@ -184,7 +184,7 @@ import org.bukkit.event.weather.LightningStrikeEvent; @@ -32714,10 +32714,10 @@ index 6321ae23f07bc3e07577914e6cf035e0c2cd4992..cc1f3c7fec4fa794da0b19f44ced9fd4 // Paper start - Adventure diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319cf74c792 100644 +index 5b596dcc6e49369fb37e976cfb8b331c18ad535f..26a1b9f1ae0490e8110fbb7a4a99100da5701c33 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -462,10 +462,14 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -466,10 +466,14 @@ public class CraftWorld extends CraftRegionAccessor implements World { ChunkHolder playerChunk = this.world.getChunkSource().chunkMap.getVisibleChunkIfPresent(ChunkPos.asLong(x, z)); if (playerChunk == null) return false; @@ -32735,7 +32735,7 @@ index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319 ClientboundLevelChunkWithLightPacket refreshPacket = new ClientboundLevelChunkWithLightPacket(chunk, this.world.getLightEngine(), null, null); for (ServerPlayer player : playersInRange) { -@@ -473,8 +477,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -477,8 +481,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { player.connection.send(refreshPacket); } @@ -32745,7 +32745,7 @@ index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319 return true; } -@@ -578,20 +581,8 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -582,20 +585,8 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public Collection<Plugin> getPluginChunkTickets(int x, int z) { DistanceManager chunkDistanceManager = this.world.getChunkSource().chunkMap.distanceManager; @@ -32767,7 +32767,7 @@ index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319 } @Override -@@ -599,7 +590,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -603,7 +594,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { Map<Plugin, ImmutableList.Builder<Chunk>> ret = new HashMap<>(); DistanceManager chunkDistanceManager = this.world.getChunkSource().chunkMap.distanceManager; @@ -32776,7 +32776,7 @@ index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319 long chunkKey = chunkTickets.getLongKey(); SortedArraySet<Ticket<?>> tickets = chunkTickets.getValue(); -@@ -1296,12 +1287,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1300,12 +1291,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public int getViewDistance() { @@ -32791,7 +32791,7 @@ index f9d38c5cbb7e0d609b83948d3f76a2debb822a53..848acade140c7876e6e7788db4716319 } public BlockMetadataStore getBlockMetadata() { -@@ -2439,17 +2430,20 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -2443,17 +2434,20 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public void setSimulationDistance(final int simulationDistance) { |