mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-27 16:09:57 +07:00
parent
685adeee9d
commit
a4895fef8b
@ -173,7 +173,7 @@ public class DuctBridge extends Block{
|
||||
|
||||
@Override
|
||||
public boolean acceptItem(Building source, Item item){
|
||||
int rel = this.relativeTo(source);
|
||||
int rel = this.relativeToEdge(source.tile);
|
||||
return items.total() < itemCapacity && rel != rotation && occupied[(rel + 2) % 4] == null;
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,12 @@ public class PayloadMassDriver extends PayloadBlock{
|
||||
config(Integer.class, (PayloadDriverBuild tile, Integer point) -> tile.link = point);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(){
|
||||
super.init();
|
||||
clipSize = Math.max(clipSize, range*2f + tilesize*size);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStats(){
|
||||
super.setStats();
|
||||
|
Loading…
Reference in New Issue
Block a user