use BoostAI for enterPayloadCommand & better onlyDepositCore handling (#11297)
This commit is contained in:
@@ -727,6 +727,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
|
||||
}
|
||||
|
||||
public boolean allowDeposit(){
|
||||
return block.alwaysAllowDeposit || !state.rules.onlyDepositCore;
|
||||
}
|
||||
|
||||
/** Called when this block is dropped as a payload. */
|
||||
public void dropped(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user