/deleteclaim also restores nature, if configured to do so in survival worlds
Closes #11
This commit is contained in:
parent
d7355b8182
commit
b07b8a678a
|
|
@ -1888,7 +1888,7 @@ public class GriefPrevention extends JavaPlugin
|
|||
this.dataStore.deleteClaim(claim, true, true);
|
||||
|
||||
//if in a creative mode world, /restorenature the claim
|
||||
if(GriefPrevention.instance.creativeRulesApply(claim.getLesserBoundaryCorner()))
|
||||
if(GriefPrevention.instance.creativeRulesApply(claim.getLesserBoundaryCorner()) || GriefPrevention.instance.config_claims_survivalAutoNatureRestoration)
|
||||
{
|
||||
GriefPrevention.instance.restoreClaim(claim, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user