Traveler's Backpack [Fabric]

Traveler's Backpack [Fabric]

11M Downloads

Backpack duplication glitch

Midnight-Github opened this issue ยท 17 comments

commented

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-

  1. Turn on trinkets integration.
  2. Take two of the same backpacks with different items in them.
  3. Put one of them in the trinkets backpack slot.
  4. Open the backpack using the key bind.
  5. Now right click the backpack on your trinkets slot while holding the other backpack.
  6. Repeat step 4.
  7. 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

commented

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.

commented

firstly try updating to latest fabric mod version for 1.19.2

commented

Oh I made a mistake!. The bug was on the latest version of the mod. sorry.

commented

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)?

commented

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.

commented

I'll release update with this fix
and I've already reported bug to trinkets creators

commented

Thank you

commented

How to remove the back slot in trinkets? I disabled trinkets integration but the back slot wont go.

commented

back slot is created by json file so theres currrently no way to disable it I think

commented

then do you know any other mod that uses the back slot? so that the slot is not just there and does something.

commented

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?

commented

yes. For the time i will use the built in system.

commented

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

commented
commented

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.

commented

Ill release an update but I'm busy lately. update should be in this week