Accessories

Accessories

4M Downloads

Bug: [1.21.8] Right click equipping accessory duplicates item

wendall911 opened this issue ยท 6 comments

commented

What Feature Types Apply to This Bug?

API

Feature Type

No response

What Type of Bug Is This?

Unexpected Behavior

Minecraft Version

1.21.8

Mod Loader

Fabric

Mod Loader API Version

0.17.2

The Accessories Version

1.3.5-beta

What Compatibility layer are you using?

None

The Compatibility Version

No response

Is This Bug a Conflict With Another Mod?

No response

Client Log

No response

Crash Report (if applicable)

No response

Steps to Reproduce

  1. Select item in hotbar
  2. right click
  3. item is equipped in the correct accessories slot, but does not get removed from the inventory

What You Expect To Happen

The item is removed from the inventory when equipped via right-click.

What Actually Happened

Items are duplicated when equipped via right-click.

Additional Details

No response

Please Read and Confirm The Following

  • I have confirmed this bug is on the most recently supported version of Minecraft.
  • I have confirmed the details provided in this report are concise as possible and does not contain vague information (ie. Versions are properly recorded, answers to questions are clear).
  • I have confirmed this bug is unique and has not been reported already.
  • If playing on a modpack, I have reported this bug to their issue tracker already.
commented

This is a problem in 1.3.5-beta on both NeoForge and Fabric. I don't know of a lot of mods that have updated yet, but if you use Accessorify for example, just right click with any item that can be equipped as an accessory and the item is duplicated.

commented

Hmmm intesting issue, will see what might be causing this

commented

Fixed with the latest release of accessories

commented

Found out it was down to changes that I thought Neoforge did, but instead did not, meaning their code does nothing with the item stack after an event. Before, it was not a stack-aware return value, and I thought that because it was now such, it would be on par with fabric, but I was wrong.

commented

Will release a fix for such coming up

commented

Awesome, glad you figured it out. Ping me if you need testing.