Skip tick if throttle is still above zero

This commit is contained in:
DBotThePony 2021-08-18 16:15:14 +07:00
parent 78c101f6a3
commit c719917035
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -154,6 +154,8 @@ abstract public class BlockEntityMatteryPoweredWorker extends BlockEntityMattery
protected void workerLoop() {
if (throttle_ticks > 0) {
throttle_ticks--;
if (throttle_ticks > 0)
return;
}