Bugfixes
This commit is contained in:
@@ -182,7 +182,7 @@ public class Conveyor extends Block implements Autotiler{
|
|||||||
Tile next = tile.getNearby(tile.rotation());
|
Tile next = tile.getNearby(tile.rotation());
|
||||||
if(next != null) next = next.link();
|
if(next != null) next = next.link();
|
||||||
|
|
||||||
float nextMax = next != null && next.block() instanceof Conveyor ? 1f - Math.max(itemSpace - next.<ConveyorEntity>entity().minitem, 0) : 1f;
|
float nextMax = next != null && next.block() instanceof Conveyor && next.block().acceptItem(null, next, tile) ? 1f - Math.max(itemSpace - next.<ConveyorEntity>entity().minitem, 0) : 1f;
|
||||||
int minremove = Integer.MAX_VALUE;
|
int minremove = Integer.MAX_VALUE;
|
||||||
|
|
||||||
for(int i = entity.convey.size - 1; i >= 0; i--){
|
for(int i = entity.convey.size - 1; i >= 0; i--){
|
||||||
|
|||||||
Reference in New Issue
Block a user