From 16577783d36155a05149d22bc5dd0975afcb2313 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Wed, 31 Jul 2024 06:40:37 +0100 Subject: [PATCH] Fix incorrect offset in turtle crafting This means we end up looking at the wrong slots, and thus fail to remove items! Fixes #1918. --- .../shared/turtle/upgrades/TurtleInventoryCrafting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleInventoryCrafting.java b/projects/common/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleInventoryCrafting.java index 224d07395..1e66b71af 100644 --- a/projects/common/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleInventoryCrafting.java +++ b/projects/common/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleInventoryCrafting.java @@ -80,7 +80,7 @@ public final class TurtleInventoryCrafting { var recipe = candidate.recipe(); var input = candidate.input(); var xStart = candidate.xStart(); - var yStart = candidate.xStart(); + var yStart = candidate.yStart(); var player = TurtlePlayer.get(turtle).player();