Fixed #11093
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user