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:
parent
1b650a59b2
commit
4a5d0ae3fa
|
|
@ -338,6 +338,7 @@ public class FlatFileDataStore extends DataStore
|
|||
{
|
||||
if(e.getMessage().contains("World not found"))
|
||||
{
|
||||
inStream.close();
|
||||
files[i].delete();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user