Backpack duplication glitch
Midnight-Github opened this issue ยท 17 comments
Mod loader and version-
Minecraft 1.19.2
Fabric 1.19.2 (0.14.21)
travelers-backpack-1.19.2-8.2.22.jar
Bug-
Backpack duplicates with trinkets integration on.
Steps to reproduce the bug-
- Turn on trinkets integration.
- Take two of the same backpacks with different items in them.
- Put one of them in the trinkets backpack slot.
- Open the backpack using the key bind.
- Now right click the backpack on your trinkets slot while holding the other backpack.
- Repeat step 4.
- You will have two backpacks with same content as one of the backpack did.
Expected behavior-
Backpack should have different content as earlier but now it has copied the content of the other backpack.
Video showing how to reproduce the bug-
2023-06-06 17-21-43.zip
Okay, so this happens because trinkets is not calling proper methods when player is swapping trinkets that are the same items but with different nbt data. The only way to fix it right now would be to disabling ability to put backpack in trinkets slot, if the same type of backpack is already in the slot. Basically player would need to take backpack from slot first, then put new backpack in empty slot.
Oh I made a mistake!. The bug was on the latest version of the mod. sorry.
If it's not fixable from your end, then should I create a bug/ compat report there? I really like the trinket integration feature and wish not to go back to the default method. Or is there a way to disable players having more than one backpack(including trinkets slot)?
disabling ability to put backpack in trinkets slot, if the same type of backpack is already in the slot. Basically player would need to take backpack from slot first, then put new backpack in empty slot.
How do I do that? I have no idea about datapacks or commands.
I'll release update with this fix
and I've already reported bug to trinkets creators
How to remove the back slot in trinkets? I disabled trinkets integration but the back slot wont go.
back slot is created by json file so theres currrently no way to disable it I think
then do you know any other mod that uses the back slot? so that the slot is not just there and does something.
i dont know you have to find by yourself, so you disabled trinketa integration for tb to avoid dupe bug? and use built in equip system?
I found a mod called elytra slot which lets you put elytra in trinkets slot. It adds a separate slot, so is it possible to combine that slot and the back slot so that they work together?
https://www.curseforge.com/minecraft/mc-mods/elytra-slot-fabric
Since they are not replying, how about removing this feature from the mod. This bug is very easy to replicate so I don't think anyone would use the integration once they find the bug.