This commit is contained in:
DBotThePony 2023-07-19 17:17:45 +07:00
parent 12cd0b758c
commit d534ebbbf2
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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()