Create the hee directory when it's not exist (#50)

This commit is contained in:
Ressed authored and GitHub committed 2026-10-25 07:00:31 +01:00
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;