mirror of
https://github.com/GTNewHorizons/Hardcore-Ender-Expansion.git
synced 2026-10-25 20:22:31 +00:00
Create the hee directory when it's not exist (#50)
This commit is contained in:
1 parent
abfc9640f6
commit
f512e59864
1 file changed
+2
-1
@@ -77,7 +77,8 @@ public final class WorldDataHandler {
|
||||
|
||||
String id = getWorldIdentifier(e.world);
|
||||
|
||||
if (!worldIdentifier.equals(id)) {
|
||||
// The save directory may have been deleted without changing the world identifier.
|
||||
if (!worldIdentifier.equals(id) || worldSaveDir == null || !worldSaveDir.exists()) {
|
||||
Log.debug("Clearing cache - old $0, new $1", worldIdentifier, id);
|
||||
cache.clear();
|
||||
worldIdentifier = id;
|
||||
|
||||
Reference in new issue
Block a user