GabeN
This commit is contained in:
parent
12cd0b758c
commit
d534ebbbf2
@ -271,19 +271,6 @@ class MatterReplicatorBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) :
|
||||
return JobStatus.SUCCESS
|
||||
}
|
||||
|
||||
override fun tick() {
|
||||
super.tick()
|
||||
|
||||
if (jobEventLoops[0].currentJob == null && matter.storedMatter.isPositive) {
|
||||
val graph = matterNode.graph as MatterGraph? ?: return
|
||||
val received = graph.receiveMatter(matter.storedMatter, false)
|
||||
|
||||
if (!received.isZero) {
|
||||
matter.extractMatter(received, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val BASE_CONSUMPTION get() = _BASE_CONSUMPTION.get()
|
||||
private val DRAIN_MULT get() = _DRAIN_MULT.get()
|
||||
|
Loading…
Reference in New Issue
Block a user