From bdacbf271c50a154a6c9de0c36e264a4a7512594 Mon Sep 17 00:00:00 2001 From: alexbegt Date: Sat, 12 Aug 2017 12:49:55 -0400 Subject: [PATCH] Fix the recipe book using the wrong workbench container, and bump versions. --- gradle.properties | 8 ++++---- .../progwml6/natura/common/gui/client/WorkbenchGui.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index cb6e9c30..482ddfd5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,14 +2,14 @@ mod_version=4.3.0 minecraft_version=1.12 -forge_version=14.21.1.2397 -mappings_version=snapshot_20170706 +forge_version=14.21.1.2443 +mappings_version=snapshot_20170812 mantle_version=1.3.+ -tconstruct_version=2.7.0.+ +tconstruct_version=2.7.+ jei_version=4.7.+ -hwyla_version=1.8.19-B33 +hwyla_version=1.8.20-B35 mcmultipart_version=2.0.0_+ \ No newline at end of file diff --git a/src/main/java/com/progwml6/natura/common/gui/client/WorkbenchGui.java b/src/main/java/com/progwml6/natura/common/gui/client/WorkbenchGui.java index e006aae8..dd7c6406 100644 --- a/src/main/java/com/progwml6/natura/common/gui/client/WorkbenchGui.java +++ b/src/main/java/com/progwml6/natura/common/gui/client/WorkbenchGui.java @@ -52,7 +52,7 @@ public void initGui() { super.initGui(); this.widthTooNarrow = this.width < 379; - this.recipeBookGui.init(this.width, this.height, this.mc, this.widthTooNarrow, this.inventorySlots, ((ContainerWorkbench) this.inventorySlots).craftMatrix); + this.recipeBookGui.init(this.width, this.height, this.mc, this.widthTooNarrow, this.inventorySlots, ((WorkbenchContainer) this.inventorySlots).craftMatrix); this.guiLeft = this.recipeBookGui.updateScreenPosition(this.widthTooNarrow, this.width, this.xSize); this.recipeButton = new GuiButtonImage(10, this.guiLeft + 5, this.height / 2 - 49, 20, 18, 0, 168, 19, CRAFTING_TABLE_GUI_TEXTURES); this.buttonList.add(this.recipeButton);