Make matter reconstructor push excess matter back into network
This commit is contained in:
parent
b3e6caf5ba
commit
ecb68ec36f
@ -283,6 +283,10 @@ class MatterReconstructorBlockEntity(blockPos: BlockPos, blockState: BlockState)
|
|||||||
initialDamage = 0.0
|
initialDamage = 0.0
|
||||||
visualItemStack = item
|
visualItemStack = item
|
||||||
visualProgress = 0f
|
visualProgress = 0f
|
||||||
|
|
||||||
|
if (matter.storedMatter.isPositive) {
|
||||||
|
matter.extractMatter(matterNode.graph.receiveMatter(matter.storedMatter, false), false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user