Delay cable blockstate update by 4 ticks

This commit is contained in:
DBotThePony 2025-03-07 17:29:32 +07:00
parent 9107f63d9d
commit d19de3facf
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -165,7 +165,7 @@ abstract class EnergyCableBlockEntity(type: BlockEntityType<*>, blockPos: BlockP
if (!SERVER_IS_LIVE) return
val level = level
level?.once {
level?.once(4) {
if (!node.isValid) return@once
val newState = blockState