Treat a world without a saved id map as already mapped

This commit is contained in:
Ruling-0 committed 2026-09-15 08:37:52 -05:00
1 parent 649fa9b5b9
commit 49ef265f85
1 file changed
+3
@@ -48,6 +48,9 @@ public abstract class IDRegistry {
public static void beginWorld(File worldDirectory) {
tableFile = new File(new File(worldDirectory, Postea.MODID), WorldIdTable.FILE_NAME);
table = WorldIdTable.load(tableFile);
// A world without a level.dat has no saved id map: the live registries already are its mapping, and
// FML fires no remap event on its first session.
mappingApplied = !new File(worldDirectory, "level.dat").exists();
}
public static void endWorld() {