don't delete claims in unloaded worlds in flatfile storage
Closes #1338
This commit is contained in:
parent
e63d1d9e51
commit
64df0e8297
|
|
@ -447,7 +447,7 @@ public class FlatFileDataStore extends DataStore
|
|||
{
|
||||
if (e.getMessage() != null && e.getMessage().contains("World not found"))
|
||||
{
|
||||
files[i].delete();
|
||||
GriefPrevention.AddLogEntry("Failed to load a claim (ID:" + claimID + ") because its world isn't loaded (yet?). If this is not expected, delete this claim.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user