Only unload if its ¬ the tile it spawned on
¬ loading if it both start & end plays weird ¬ unloading if it both start & end plays weird —— so only unloading if the origin tile is ¬ the unload tile is the only smooth option sadly this does block player feeding the conveyor at the last tile in the chain
This commit is contained in:
@@ -126,7 +126,7 @@ public class CraterConveyor extends BaseConveyor{
|
|||||||
|
|
||||||
// when near the center of the target tile...
|
// when near the center of the target tile...
|
||||||
if(entity.reload < 0.25f){
|
if(entity.reload < 0.25f){
|
||||||
if(!(destination.block() instanceof CraterConveyor)){ // ...and if its not a crater conveyor, start unloading (everything)
|
if(!(destination.block() instanceof CraterConveyor) && entity.link != tile.pos()){ // ...and if its not a crater conveyor, start unloading (everything)
|
||||||
while(entity.items.total() > 0 && entity.dominant() != null && offloadDir(tile, entity.dominant())) entity.items.remove(entity.dominant(), 1);
|
while(entity.items.total() > 0 && entity.dominant() != null && offloadDir(tile, entity.dominant())) entity.items.remove(entity.dominant(), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user