aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-default-plugin/src/main/java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-11-08 18:30:59 +0800
committershedaniel <daniel@shedaniel.me>2020-11-08 18:30:59 +0800
commit6a9b8f3a6dc349783180029ae4c8d9a55ec07677 (patch)
tree2286282ff249248e0fbb38d264d2ce9e38e49882 /RoughlyEnoughItems-default-plugin/src/main/java
parent6099b959bc1601023ee9dfb639dff2e1bf2a48ec (diff)
downloadRoughlyEnoughItems-6a9b8f3a6dc349783180029ae4c8d9a55ec07677.tar.gz
RoughlyEnoughItems-6a9b8f3a6dc349783180029ae4c8d9a55ec07677.tar.bz2
RoughlyEnoughItems-6a9b8f3a6dc349783180029ae4c8d9a55ec07677.zip
Fix red slots in furnaces & fix crash with opening config screens
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-default-plugin/src/main/java')
-rw-r--r--RoughlyEnoughItems-default-plugin/src/main/java/me/shedaniel/rei/plugin/cooking/DefaultCookingCategory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/RoughlyEnoughItems-default-plugin/src/main/java/me/shedaniel/rei/plugin/cooking/DefaultCookingCategory.java b/RoughlyEnoughItems-default-plugin/src/main/java/me/shedaniel/rei/plugin/cooking/DefaultCookingCategory.java
index 048a592c7..4f99396f6 100644
--- a/RoughlyEnoughItems-default-plugin/src/main/java/me/shedaniel/rei/plugin/cooking/DefaultCookingCategory.java
+++ b/RoughlyEnoughItems-default-plugin/src/main/java/me/shedaniel/rei/plugin/cooking/DefaultCookingCategory.java
@@ -57,7 +57,7 @@ public class DefaultCookingCategory implements TransferRecipeCategory<DefaultCoo
@Override
public void renderRedSlots(PoseStack matrices, List<Widget> widgets, Rectangle bounds, DefaultCookingDisplay display, IntList redSlots) {
- Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 27);
+ Point startPoint = new Point(bounds.getCenterX() - 41, bounds.y + 10);
matrices.pushPose();
matrices.translate(0, 0, 400);
if (redSlots.contains(0)) {