Skip to content

Used items aren't dropped when you break a machine that is still processing an input. #4268

@Intybyte

Description

@Intybyte

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I downloaded the official version from the new build site Blob Builds.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

When a machine is processing a recipe and you break said machine, it won't drop the item it was processing but just delete it, when it should just drop it intact.

📑 Reproduction Steps

  • Make a small energy net
  • Place a machine (I used auto anvil)
  • Put duct tape + damaged item
  • Make it start the recipe
  • Break the machine
  • The item that was supposed to be repaired is now gone

💡 Expected Behavior

The item is returned in the same state it was inserted.

📷 Screenshots / Videos

No response

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Paper

🎮 Minecraft Version

1.20.x

⭐ Slimefun version

preview build of 1.21 cm on saw the code it happens regardless of version

🧭 Other plugins

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 Bug ReportA bug that needs to be fixed.🧨 Confirmed BugThis bug has been confirmed by our team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions