BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
23 stars 0 forks source link

Duplicate setting in the config files causes backpack deletion (Fabric, 1.20.1) #177

Open PaterFrog opened 4 months ago

PaterFrog commented 4 months ago

Issue Your beansbackpack-common.json5 AND your beansbackpacks.json5 config files both have the keepBackSlot rules. Using the ingame command to change the gamerule affects only one of them, which creates a conflict, the result of which is that OTHER MOD's backpacks in the Trinkets backslot get deleted on death.

I had both your mod, and Traveller's Backpack enabled. Traveller's backpack always got deleted, even though I have the general Keep Inventory On Death rule enabled, and had also set your mod to do so via the ingame command. It would still delete the other mod's backpack.

On a clean install, I found that manually setting both config files to true fixed the issue. On my actual install with 220+ mods, this issue was not solved, even with both those config settings set to true. I don't know what other mod may also be messing with Trinket's backslot.

But If I play with your mod disabled, I do not lose the Traveller's packs from the Trinket backslot, even with hundreds of other mods active also. This makes me think that possibly your Trinkets integration has some gore in it? Or perhaps, there's some checks/integrations missing that would sort out the compatibility issues.

Here's some additional info mods.txt Minecraft 1.20.1 Modrinth 0.15.11 Fabric Beans Backpacks 20.1-2.0.2 Traveller's Backpack 1.20.1-9.1.15 Trinkets 3.7.2

unceremoniously butchered into .txt files so I could upload them here: beansbackpacks-common.txt beansbackpacks.txt beansbackpacks-client.txt