From 80cf5a08b0d01522693f6a24a488430709e39529 Mon Sep 17 00:00:00 2001 From: Raoul Van den Berge Date: Sat, 17 Sep 2016 17:37:30 +0200 Subject: [PATCH] Fixed crafting a complex item causes the process to flow off the Crafting Monitor's GUI, fixes #354 --- CHANGELOG.md | 3 +++ src/main/java/refinedstorage/gui/GuiCraftingMonitor.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a08d22969..8a3fd242e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Refined Storage Changelog +### 1.0.5 +- Fixed crafting a complex item causes the process to flow off the Crafting Monitor's GUI (raoulvdberge) + ### 1.0.4 - Fixed lag caused by Crafter (raoulvdberge) diff --git a/src/main/java/refinedstorage/gui/GuiCraftingMonitor.java b/src/main/java/refinedstorage/gui/GuiCraftingMonitor.java index f2cf295de..35312396c 100755 --- a/src/main/java/refinedstorage/gui/GuiCraftingMonitor.java +++ b/src/main/java/refinedstorage/gui/GuiCraftingMonitor.java @@ -104,7 +104,7 @@ public class GuiCraftingMonitor extends GuiBase { itemSelectedY = y; } - x += task.getDepth() * 16; + x += 16F / (float) task.getDepth(); drawItem(x + 2, y + 1, task.getOutput());