Make payload blocks run onDestroyed() of the block payload it carries when destroyed. (#8253)
* Payloads go boom. * When a payload unit dies too * Keep the functionality, but limit it to a rule
This commit is contained in:
@@ -59,6 +59,8 @@ public class Rules{
|
||||
public boolean unitAmmo = false;
|
||||
/** EXPERIMENTAL! If true, blocks will update in units and share power. */
|
||||
public boolean unitPayloadUpdate = false;
|
||||
/** If true, units' payloads are destroy()ed when the unit is destroyed. */
|
||||
public boolean unitPayloadsExplode = false;
|
||||
/** Whether cores add to unit limit */
|
||||
public boolean unitCapVariable = true;
|
||||
/** If true, unit spawn points are shown. */
|
||||
|
||||
Reference in New Issue
Block a user