Removed auto-delete of claims in unknown worlds.

Was problematic because some plugins load worlds AFTER GriefPrevention
finishes loading.
This commit is contained in:
ryanhamshire 2015-12-10 14:02:46 -08:00
parent 2f816c1a9b
commit ddcb7b25c9

View File

@ -257,8 +257,7 @@ public class DatabaseDataStore extends DataStore
{ {
if(e.getMessage().contains("World not found")) if(e.getMessage().contains("World not found"))
{ {
removeClaim = true; 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.");
GriefPrevention.AddLogEntry("Removing a claim in a world which does not exist: " + lesserCornerString);
continue; continue;
} }
else else