geforkt von Mirrors/AxiomPaperPlugin
backport1.20.1 #6
@ -72,7 +72,7 @@ public class RequestChunkDataPacketListener implements PluginMessageListener {
|
||||
return;
|
||||
}
|
||||
|
||||
boolean sendBlockEntitiesInChunks= friendlyByteBuf.readBoolean();
|
||||
boolean sendBlockEntitiesInChunks = friendlyByteBuf.readBoolean();
|
||||
|
||||
Long2ObjectMap<CompressedBlockEntity> blockEntityMap = new Long2ObjectOpenHashMap<>();
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
|
@ -191,7 +191,9 @@ public class SetBlockPacketListener implements PluginMessageListener {
|
||||
|
||||
// Update Light
|
||||
if (LightEngine.hasDifferentLightProperties(chunk, blockPos, old, blockState)) {
|
||||
chunk.getSkyLightSources().update(chunk, x, by, z);
|
||||
// Note: Skylight Sources not currently needed on Paper due to Starlight
|
||||
// This might change in the future, so be careful!
|
||||
// chunk.getSkyLightSources().update(chunk, x, by, z);
|
||||
level.getChunkSource().getLightEngine().checkBlock(blockPos);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren