Add back Anti-Xray patch (#9283)

This commit is contained in:
Jake Potrebic
2023-06-08 21:29:58 -07:00
parent d943e42150
commit 6161cbb44c
9 changed files with 66 additions and 65 deletions

View File

@@ -23,7 +23,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .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(), null, null)
+ worldserver1.getLightEngine(), null, null, false)
+ );
+ }
+ // Paper end