Fix matter capacitor bank not marking chunks as dirty
This commit is contained in:
parent
a26840f670
commit
39a996f79f
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user