mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-27 01:01:09 -07:00
commit
f1cf8b2849
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||
@Override
|
||||
public boolean acceptItem(Building source, Item item){
|
||||
if(this == source) return true; // player threw items
|
||||
if(cooldown > recharge - 1f) return false; // still cooling down
|
||||
if(cooldown > recharge - 1f) return false; // still cooling down
|
||||
return !((state != stateLoad) // not a loading dock
|
||||
|| (items.total() > 0 && !items.has(item)) // incompatible items
|
||||
|| (items.total() >= getMaximumAccepted(item)) // filled to capacity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue