Fix matter capacitor bank not marking chunks as dirty

This commit is contained in:
DBotThePony 2025-03-26 22:40:44 +07:00
parent a26840f670
commit 39a996f79f
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -93,6 +93,10 @@ class MatterCapacitorBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState)
} }
} }
if (!simulate && !summ.isZero) {
markDirtyFast()
}
return summ return summ
} }
@ -115,6 +119,10 @@ class MatterCapacitorBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState)
} }
} }
if (!simulate && !summ.isZero) {
markDirtyFast()
}
return summ return summ
} }