Claim files for non-existent worlds are deleted.
Previously were not being deleted due to a bug (input stream left open, file not deletable).
This commit is contained in:
@@ -338,6 +338,7 @@ public class FlatFileDataStore extends DataStore
|
||||
{
|
||||
if(e.getMessage().contains("World not found"))
|
||||
{
|
||||
inStream.close();
|
||||
files[i].delete();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user