mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
Use correct ClientboundLevelChunkWithLightPacket constructor in later patch
This commit is contained in:
parent
025c5d7a28
commit
866d2d9f4a
@ -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.
|
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
|
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
|
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
+++ b/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 {
|
@@ -379,6 +379,16 @@ public abstract class PlayerList {
|
||||||
@ -23,7 +23,7 @@ index d5d83e605a33d2edd1c7c0ef7cfa8af35e22dcc9..cdf40a67c868a50a695b7501381171dd
|
|||||||
+ .getHolderOrThrow(net.minecraft.world.level.biome.Biomes.PLAINS);
|
+ .getHolderOrThrow(net.minecraft.world.level.biome.Biomes.PLAINS);
|
||||||
+ player.connection.send(new net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket(
|
+ player.connection.send(new net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket(
|
||||||
+ new net.minecraft.world.level.chunk.EmptyLevelChunk(worldserver1, player.chunkPosition(), plains),
|
+ 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
|
+ // Paper end
|
||||||
|
Loading…
Reference in New Issue
Block a user