This looks good to
This commit is contained in:
@@ -158,16 +158,14 @@ public class CraterConveyor extends Block implements Autotiler{
|
|||||||
// crater needs to be centered
|
// crater needs to be centered
|
||||||
if(entity.reload > 0f) return;
|
if(entity.reload > 0f) return;
|
||||||
|
|
||||||
// unload
|
|
||||||
if(entity.blendbit2 == 6){
|
if(entity.blendbit2 == 6){
|
||||||
while(tryDump(tile)){
|
while(tryDump(tile)){
|
||||||
if(entity.items.total() == 0) poofOut(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(entity.blendbit2 != 5 || (entity.items.total() >= getMaximumAccepted(tile, entity.items.first()))){
|
||||||
if(tile.front() != null
|
if(tile.front() != null
|
||||||
&& tile.front().getTeam() == tile.getTeam()
|
&& tile.front().getTeam() == tile.getTeam()
|
||||||
|
|||||||
Reference in New Issue
Block a user