diff --git a/gradle.properties b/gradle.properties index cc5478b96..5c13266d3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,7 +23,7 @@ mapping_version=2022.11.27-1.19.2 # Irons Mod mod_id=irons_spellbooks -mod_version=1.19.2-2.0.0 +mod_version=1.19.2-2.0-SNAPSHOT mod_group_id=io.redspace.ironsspellbooks # Irons mods.toml diff --git a/src/main/java/io/redspace/ironsspellbooks/datafix/IronsWorldUpgrader.java b/src/main/java/io/redspace/ironsspellbooks/datafix/IronsWorldUpgrader.java index 30e597c01..6997c57e5 100644 --- a/src/main/java/io/redspace/ironsspellbooks/datafix/IronsWorldUpgrader.java +++ b/src/main/java/io/redspace/ironsspellbooks/datafix/IronsWorldUpgrader.java @@ -36,7 +36,7 @@ public class IronsWorldUpgrader { public static int IRONS_WORLD_DATA_VERSION = 1; - final int REPORT_PROGRESS_MS = 20000; + final int REPORT_PROGRESS_MS = 5000; final byte[] INHABITED_TIME_MARKER = new byte[]{0x49, 0x6E, 0x68, 0x61, 0x62, 0x69, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6D, 0x65}; public static final String REGION_FOLDER = "region"; public static final String ENTITY_FOLDER = "entities"; @@ -82,13 +82,13 @@ public void runUpgrade() { if (worldNeedsUpgrading()) { IronsSpellbooks.LOGGER.info("IronsWorldUpgrader starting upgrade"); - try { - IronsSpellbooks.LOGGER.info("IronsWorldUpgrader Attempting minecraft world backup (this can take long on large worlds)"); - levelStorage.makeWorldBackup(); - IronsSpellbooks.LOGGER.info("IronsWorldUpgrader Minecraft world backup complete."); - } catch (Exception exception) { - IronsSpellbooks.LOGGER.error("IronsWorldUpgrader Level Backup failed: {}", exception.getMessage()); - } +// try { +// IronsSpellbooks.LOGGER.info("IronsWorldUpgrader Attempting minecraft world backup (this can take long on large worlds)"); +// levelStorage.makeWorldBackup(); +// IronsSpellbooks.LOGGER.info("IronsWorldUpgrader Minecraft world backup complete."); +// } catch (Exception exception) { +// IronsSpellbooks.LOGGER.error("IronsWorldUpgrader Level Backup failed: {}", exception.getMessage()); +// } IronsSpellbooks.LOGGER.info("IronsWorldUpgrader starting REGION_FOLDER"); long millis = Util.getMillis();