Fix matter bottler not destroying it's matter node
This commit is contained in:
parent
605ab992f5
commit
bea7ecab5f
@ -217,6 +217,11 @@ class BlockEntityMatterBottler(p_155229_: BlockPos, p_155230_: BlockState) :
|
||||
return (Fraction.ONE - cap.storedMatter / initialCapacity!!).toFloat()
|
||||
}
|
||||
|
||||
override fun setRemoved() {
|
||||
super.setRemoved()
|
||||
node.destroy(::MatterNetworkGraph)
|
||||
}
|
||||
|
||||
fun tick() {
|
||||
batteryChargeLoop()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user