Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-14 04:00:05 +01:00
Don't update skylight sources on Paper
Dieser Commit ist enthalten in:
Ursprung
55e85a3d0e
Commit
a76aaba3d0
@ -191,7 +191,9 @@ public class SetBlockPacketListener implements PluginMessageListener {
|
|||||||
|
|
||||||
// Update Light
|
// Update Light
|
||||||
if (LightEngine.hasDifferentLightProperties(chunk, blockPos, old, blockState)) {
|
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);
|
level.getChunkSource().getLightEngine().checkBlock(blockPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren