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

Iaremove issue that could be used as a dupe #4427

Open
6 tasks done
Luckyyless opened this issue Feb 12, 2025 · 0 comments
Open
6 tasks done

Iaremove issue that could be used as a dupe #4427

Luckyyless opened this issue Feb 12, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@Luckyyless
Copy link

Terms

  • I'm using the very latest version of ItemsAdder and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I searched the #itemsadder-forum channel on Discord for similar issues.
  • I tested that this issue persists on a bare-minimum Server as described in #4187.

Discord Username (optional)

No response

What happened?

Iaremove doesn't remove enough items if there is only 1 of this item in the slot, and other ones in another slots. This command takes the item from the first slots, and if there is only 1 item and other items are in another slots after this slot, it would take only the items from the first slot. I will explain it better below.

Steps to reproduce the issue

Example: I want to take 8 "gems" from players inventory. He has in his first hotbar slot 1 gem, and 1 stack of gems in second hotbar slot. after /iaremove [player] custom:gem 8 silent, the command would take only 1 gem from his first slot. Instead of spending 8 gems, he spent only 1. His stack of gems in the second slot has the same number of 64 items.

Server version

Current Purpur Version: 1.21.4-2389-71f219d (MC: 1.21.4)*

  • You are 3 version(s) behind

ItemsAdder Version

4.0.8

ProtocolLib Version

5.4.0-SNAPSHOT-739

LoneLibs Version

1.0.63

Full Server Log

https://mclo.gs/EKLWryQ

Error (optional)

Problematic items yml configuration file (optional)

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@Luckyyless Luckyyless added the type: bug Something isn't working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: New
Development

No branches or pull requests

1 participant