geforkt von Mirrors/AxiomPaperPlugin
Add comments
Dieser Commit ist enthalten in:
Ursprung
f6cbe97890
Commit
e68cbdbde2
@ -245,8 +245,10 @@ public class SetBlockBufferPacketListener {
|
||||
chunk.removeBlockEntity(blockPos);
|
||||
}
|
||||
|
||||
// Mark block changed
|
||||
world.getChunkSource().blockChanged(blockPos); // todo: maybe simply resend chunk instead of this?
|
||||
|
||||
// Update Light
|
||||
if (LightEngine.hasDifferentLightProperties(chunk, blockPos, old, blockState)) {
|
||||
chunk.getSkyLightSources().update(chunk, x, by, z);
|
||||
lightEngine.checkBlock(blockPos);
|
||||
|
@ -187,7 +187,10 @@ public class SetBlockPacketListener implements PluginMessageListener {
|
||||
chunk.removeBlockEntity(blockPos);
|
||||
}
|
||||
|
||||
// Mark block changed
|
||||
level.getChunkSource().blockChanged(blockPos);
|
||||
|
||||
// Update Light
|
||||
if (LightEngine.hasDifferentLightProperties(chunk, blockPos, old, blockState)) {
|
||||
chunk.getSkyLightSources().update(chunk, x, by, z);
|
||||
level.getChunkSource().getLightEngine().checkBlock(blockPos);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren