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:
1 parent
1b650a59b2
commit
4a5d0ae3fa
1 file changed
+1
@@ -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