Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crafting Duplication Issue with Crafty Turtles #1918

Closed
axhar005 opened this issue Jul 30, 2024 · 1 comment
Closed

Crafting Duplication Issue with Crafty Turtles #1918

axhar005 opened this issue Jul 30, 2024 · 1 comment
Labels
area-Minecraft This affects CC's Minecraft-specific content. bug A problem or unexpected behaviour with the mod.

Comments

@axhar005
Copy link

Minecraft Version

1.21.x

Version

1.111.1

Details

Crafting Duplication Issue with ComputerCraft Turtles

I have encountered an issue with crafting using turtles, where the items used in the crafting process are duplicated. Here is a detailed explanation of the problem:

When I attempt to craft an item using a turtle, such as a stone sword, the materials required for the recipe are not consumed properly. Instead, the turtle produces the crafted item without using up the materials.

For example, if I place a stick and two cobblestones in the turtle's inventory and use the turtle.craft() function, the turtle successfully crafts a stone sword. However, the cobblestones are not consumed in the process. As a result, I still have the original cobblestones in the turtle's inventory along with the newly crafted stone sword.

In this specific example:

The selected slot is 1.
Cobblestone is placed in slot 8 and slot 12.
The stick is placed in slot 16.
@axhar005 axhar005 added the bug A problem or unexpected behaviour with the mod. label Jul 30, 2024
@SquidDev SquidDev added the area-Minecraft This affects CC's Minecraft-specific content. label Jul 31, 2024
SquidDev added a commit that referenced this issue Jul 31, 2024
This means we end up looking at the wrong slots, and thus fail to remove
items! Fixes #1918.
@SquidDev
Copy link
Member

Thanks for the report! Hah, this was a silly one.

@SquidDev SquidDev mentioned this issue Jul 31, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Minecraft This affects CC's Minecraft-specific content. bug A problem or unexpected behaviour with the mod.
Projects
None yet
Development

No branches or pull requests

2 participants