This commit is contained in:
Anuken
2025-08-04 15:35:28 +02:00
parent 6cd4658c1f
commit 14d2141b77

View File

@@ -302,6 +302,8 @@ public class LandingPad extends Block{
items.set(arriving, itemCapacity);
if(!isFake()){
//receiving items counts as "production" for now
produced(arriving, itemCapacity);
state.getSector().info.handleItemImport(arriving, itemCapacity);
}
@@ -339,13 +341,6 @@ public class LandingPad extends Block{
return team != state.rules.defaultTeam || !state.isCampaign();
}
@Override
public boolean canDump(Building to, Item item){
//hack: canDump is only ever called right before item offload, so count the item as "produced" before that.
produced(item);
return true;
}
@Override
public void drawSelect(){
drawItemSelection(config);