-
Notifications
You must be signed in to change notification settings - Fork 560
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
Books and player heads metadata copy/dupe #4020
Comments
before anything can be done you must update to the latest dev version. once you do, i believe this issue will be resolved. I'll keep this open for a couple days to give you time to update and confirm |
As of right now, accroding to the download page the latest dev version is: 09 Oct 2023 (18:54:31) #c9774. As you can see in my issue, the versions that feature the described bug do include the version |
the screenshots you provided show you are using RC35 which is nearly a year old. you must update to 1104 |
? https://ctrlv.tv/ZLMh @ 0:07: |
and you've been able to replicate this on 1104? |
|
It's ok I was able to replicate it. |
Please correct this error. has persisted for a long time and affects a large portion of slimefun, rendering it unusable. |
1 similar comment
Please correct this error. has persisted for a long time and affects a large portion of slimefun, rendering it unusable. |
the devs are aware but are working on much more significant issues atm. |
Haven't been able to replicate with player heads on 1149. Books are still copied however. |
It seems to me that SlimeFun doesn't check the books' metas at all and instead returns I went through the code of the Cargo Output Node with the help of the Debug logs
Path I took inspecting the code
I look forward to this issue getting resolved. Please tell me if I can be of any help or if I've made a mistake somewhere. |
I reproduced it with player heads just now as well. When I gave myself a skull with my skin and tried to dupe it by using an empty one, it didn't work, neither it did when I renamed the empty one to have the same name. But when I gave myself another skull with another player's skin, I was able to rewrite its metadata just as well as I could with the signed books. |
❗ Checklist
📍 Description
If you connect two chests via Cargo Nodes, you can copy metadata of signed books and player heads from one to another, resulting in, for example, duplication of "cheque" books, or other valuable books or heads.
📑 Reproduction Steps
The same applies to player heads.
Also it works for higher quantities of items: for example, if you were to fill the right chest with the A books, and then proceed to insert some B books into the left chest, the item stacks in the right chest will all get eventually filled up.
On the other hand, if you would only have 1 A book in the right chest and you were to put 17 B books into the left chest, you would end up with 16 A books and 2 B books in the right chest. So the issue is clearly linked to incomplete item stacks.
💡 Expected Behavior
I would expect the B book to transfer to the right (output) chest, instead of getting another A book.
📷 Screenshots / Videos
See the bug reproduction process screencap: https://ctrlv.tv/ZLMh
📜 Server Log
No response
📂
/error-reports/
folderNo response
💻 Server Software
Paper
🎮 Minecraft Version
1.17.x
⭐ Slimefun version
Tested on:
,
and:
🧭 Other plugins
No response
The text was updated successfully, but these errors were encountered: