mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
Do ¬ bump empty conveyors
This commit is contained in:
parent
93faf128b7
commit
55932d03c9
@ -340,7 +340,7 @@ public class CraterConveyor extends Block implements Autotiler{
|
|||||||
// awaken inputting conveyors
|
// awaken inputting conveyors
|
||||||
private void bump(Tile tile){
|
private void bump(Tile tile){
|
||||||
for(Tile input : inputs(tile)){
|
for(Tile input : inputs(tile)){
|
||||||
if(input.entity.isSleeping()){
|
if(input.entity.isSleeping() && input.entity.items.total() > 0){
|
||||||
input.entity.noSleep();
|
input.entity.noSleep();
|
||||||
bump(input);
|
bump(input);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user