Update IslandManager.java

Add Configuration if owner want delete totaly block island or not (default true)
This commit is contained in:
Bierque Jason 2020-08-30 14:30:57 +02:00 committed by Brianna
parent cf1eca139b
commit ab975e129a

View File

@ -555,7 +555,9 @@ public class IslandManager {
}
}
startDeletion(island, worldManager);
if (configLoad.getBoolean("Island.Deletion.DeleteIsland", true)) {
startDeletion(island, worldManager);
}
plugin.getVisitManager().deleteIsland(island.getOwnerUUID());
plugin.getBanManager().deleteIsland(island.getOwnerUUID());