bloodmc / GriefDefender

Defend your servers from grief.
https://www.spigotmc.org/resources/griefdefender.68900/
MIT License
110 stars 96 forks source link

claim#shouldRestore(true) doesnt seems to restore #215

Open Flashback083 opened 4 years ago

Flashback083 commented 4 years ago

I tried to create claim, then trigger abandonEvent, and set to true the shouldRestore But doesnt seems to work (the auto nature restore config is set to true) If you need more info tell me !

Flashback083 commented 4 years ago

(Also not work for RemoveClaimEvent.Delete)

Flashback083 commented 4 years ago

Actually found this solution : GriefDefender.getCore().getWorldEditProvider()).regenerateClaim(claim) thats seems work so no need to rush this issue