This looks good to

This commit is contained in:
Patrick 'Quezler' Mounier 2020-03-06 10:17:02 +01:00
parent c5de6706e0
commit 8a25d57c83
No known key found for this signature in database
GPG Key ID: 0D6CA7326C76D8EA

View File

@ -158,16 +158,14 @@ public class CraterConveyor extends Block implements Autotiler{
// crater needs to be centered
if(entity.reload > 0f) return;
// unload
if(entity.blendbit2 == 6){
while(tryDump(tile)){
if(entity.items.total() == 0) poofOut(tile);
}
}
else
/* unload */ else /* transfer */
// transfer
if(entity.blendbit2 != 5 || (entity.items.total() >= getMaximumAccepted(tile, entity.items.first()))){
if(tile.front() != null
&& tile.front().getTeam() == tile.getTeam()