Collapse while

This commit is contained in:
Patrick 'Quezler' Mounier 2020-03-23 17:07:11 +01:00
parent 6b27d19057
commit 104fd78966
No known key found for this signature in database
GPG Key ID: 0D6CA7326C76D8EA

View File

@ -153,9 +153,7 @@ public class CraterConveyor extends Block implements Autotiler{
if(entity.cooldown > 0f) return;
if(entity.blendbit2 == 6){
while(tryDump(tile)){
if(entity.items.total() == 0) poofOut(tile);
}
while(tryDump(tile)) if(entity.items.total() == 0) poofOut(tile);
}
/* unload */ else /* transfer */