use BoostAI for enterPayloadCommand & better onlyDepositCore handling (#11297)

This commit is contained in:
WMF
2025-10-18 16:31:47 +02:00
committed by GitHub
parent c2108a3ce5
commit c2c1271a4c
8 changed files with 17 additions and 5 deletions

View File

@@ -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(){