Skip to content

Abnormal Behavior When Copying Items with Middle Click in Creative Mode Under Specific Conditionsย #4330

@balugaq

Description

@balugaq

โ— 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

Forward from SlimefunGuguProject/Slimefun#1058 and confirmed in the official version.

When copying a slime head in the inventory and placing it back into the inventory, there is a chance the item may disappear.

๐Ÿ“‘ Reproduction Steps

This issue affects all Slimefun heads. Using synthetic sapphire as an example:

Place a synthetic sapphire (PLAYER_WALL_HEAD) attached to the side of a block and aim the crosshair at it.
Open the inventory and middle-click to copy the synthetic sapphire in the inventory.
Observed Behaviors:

Case 1:

Original synthetic sapphire is in the non-hotbar slots.
Place the copied item into the non-hotbar slots.
Result: No issue occurs.
Case 2:

Original synthetic sapphire is in the hotbar.
Place the copied item into the non-hotbar slots.
Result: No issue occurs.
Case 3:

Original synthetic sapphire is in the non-hotbar slots.
Place the copied item into the hotbar.
If the hotbar already contains at least one synthetic sapphire, the item disappears.
If the hotbar contains no synthetic sapphire, the item quantity becomes 1.
Case 4:

Original synthetic sapphire is in the hotbar.
Place the copied item into the hotbar.
Result: The item disappears.

๐Ÿ’ก Expected Behavior

No item disappears.

๐Ÿ“ท Screenshots / Videos

No response

๐Ÿ“œ Server Log

No response

๐Ÿ“‚ /error-reports/ folder

No response

๐Ÿ’ป Server Software

Paper

๐ŸŽฎ Minecraft Version

1.20.x

โญ Slimefun version

Slimefun vDev-1160

๐Ÿงญ Other plugins

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ๐ŸŽฏ Needs testingThis Issue needs to be tested by our team to see if it can be reproduced.๐Ÿž Bug ReportA bug that needs to be fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions