Skip tick if throttle is still above zero
This commit is contained in:
parent
78c101f6a3
commit
c719917035
@ -154,7 +154,9 @@ abstract public class BlockEntityMatteryPoweredWorker extends BlockEntityMattery
|
|||||||
protected void workerLoop() {
|
protected void workerLoop() {
|
||||||
if (throttle_ticks > 0) {
|
if (throttle_ticks > 0) {
|
||||||
throttle_ticks--;
|
throttle_ticks--;
|
||||||
return;
|
|
||||||
|
if (throttle_ticks > 0)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_idling) {
|
if (is_idling) {
|
||||||
|
Loading…
Reference in New Issue
Block a user