diff --git a/changelog/1.2.7.d.md b/changelog/1.2.7.d.md new file mode 100644 index 00000000..2a8fa1a4 --- /dev/null +++ b/changelog/1.2.7.d.md @@ -0,0 +1,6 @@ +## Create: Enchantment Industry 1.2.7.d +Update for Create 0.5.1.f + +### Bugfix +- Fix Crash when disenchanting Tombstone Soulbound book +- Fix Disenchanter causes client crash \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index de4c7bad..39d9a642 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # Mod Versions -mod_version = 1.2.7.c +mod_version = 1.2.7.d artifact_minecraft_version = 1.18.2 minecraft_version = 1.18.2 forge_version = 40.2.4 @@ -18,8 +18,8 @@ parchment_version = 2022.11.06 # Dependency Versions create_minecraft_version = 1.18.2 flywheel_minecraft_version = 1.18.2 -create_version = 0.5.1.e -create_version_build = 318 +create_version = 0.5.1.f +create_version_build = 332 flywheel_version = 0.6.10-105 registrate_version = MC1.18.2-1.1.3 jei_minecraft_version = 1.18.2 diff --git a/src/main/java/plus/dragons/createenchantmentindustry/content/contraptions/enchanting/disenchanter/DisenchanterRenderer.java b/src/main/java/plus/dragons/createenchantmentindustry/content/contraptions/enchanting/disenchanter/DisenchanterRenderer.java index 93ff4593..06414ecd 100644 --- a/src/main/java/plus/dragons/createenchantmentindustry/content/contraptions/enchanting/disenchanter/DisenchanterRenderer.java +++ b/src/main/java/plus/dragons/createenchantmentindustry/content/contraptions/enchanting/disenchanter/DisenchanterRenderer.java @@ -137,6 +137,7 @@ protected void renderFluid(DisenchanterBlockEntity be, float partialTicks, PoseS var result = Disenchanting.disenchantResult(transported.stack, be.getLevel()); if (result == null) return; FluidStack xp = result.getFirst(); + if (xp.isEmpty()) return; int processingTicks = be.processingTicks; float processingProgress = processingTicks == 0 ? 0 diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 202e8c80..9dc53e95 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -25,6 +25,6 @@ side="BOTH" [[dependencies.create_enchantment_industry]] modId="create" mandatory=true - versionRange="[0.5.1.e,)" + versionRange="[0.5.1.f,)" ordering="NONE" side="BOTH"