From 866d2d9f4a0b51f1c15134c29ef6dff09c3a062e Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sun, 24 Sep 2023 16:29:07 +1000 Subject: [PATCH] Use correct ClientboundLevelChunkWithLightPacket constructor in later patch --- patches/server/0775-Force-close-world-loading-screen.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0775-Force-close-world-loading-screen.patch b/patches/server/0775-Force-close-world-loading-screen.patch index c56c590413bf..6c99039e8794 100644 --- a/patches/server/0775-Force-close-world-loading-screen.patch +++ b/patches/server/0775-Force-close-world-loading-screen.patch @@ -10,7 +10,7 @@ so we do not need that. The client only needs the chunk it is currently in to be loaded to close the loading screen, so we just send an empty one. diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java -index d5d83e605a33d2edd1c7c0ef7cfa8af35e22dcc9..cdf40a67c868a50a695b7501381171dd0fe6579b 100644 +index d5d83e605a33d2edd1c7c0ef7cfa8af35e22dcc9..76e83980e96f52a8cea71d9c5e80c998021fe2ff 100644 --- a/src/main/java/net/minecraft/server/players/PlayerList.java +++ b/src/main/java/net/minecraft/server/players/PlayerList.java @@ -379,6 +379,16 @@ public abstract class PlayerList { @@ -23,7 +23,7 @@ index d5d83e605a33d2edd1c7c0ef7cfa8af35e22dcc9..cdf40a67c868a50a695b7501381171dd + .getHolderOrThrow(net.minecraft.world.level.biome.Biomes.PLAINS); + player.connection.send(new net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket( + new net.minecraft.world.level.chunk.EmptyLevelChunk(worldserver1, player.chunkPosition(), plains), -+ worldserver1.getLightEngine(), (java.util.BitSet)null, (java.util.BitSet) null) ++ worldserver1.getLightEngine(), (java.util.BitSet)null, (java.util.BitSet) null, false) + ); + } + // Paper end