From ddcb7b25c9cbf84ac93b43097a8e297b2219fcf3 Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Thu, 10 Dec 2015 14:02:46 -0800 Subject: [PATCH] Removed auto-delete of claims in unknown worlds. Was problematic because some plugins load worlds AFTER GriefPrevention finishes loading. --- src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java index bcb2381..2f4fb4b 100644 --- a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java @@ -257,8 +257,7 @@ public class DatabaseDataStore extends DataStore { if(e.getMessage().contains("World not found")) { - removeClaim = true; - GriefPrevention.AddLogEntry("Removing a claim in a world which does not exist: " + lesserCornerString); + GriefPrevention.AddLogEntry("Failed to load a claim because its world isn't loaded (yet?). Please delete the claim or contact the GriefPrevention developer with information about which plugin(s) you're using to load or create worlds."); continue; } else