Backpacked

Backpacked

11M Downloads

Backpack content erased when accessing player inventory (E) while in creative mode

robberer opened this issue ยท 4 comments

commented

First I'm using this mod for Minecraft 1.16.5 with your recently released 2.1.12 version.

When playing on server in survival mode and then switching to creative mode will erase the backpack as soon as you open player inventory (E). Closing the player inventory and accessing the backpack (B) presents an empty backpack.

There is this commit 90a303f but when looking into the 1.16.x branch the commit seems not to be backported.

commented

Alright, after some testing I figured out that the bug that clears the backpack content in creative mode does not apply to commit 4880f18. So it is present in branch 1.16.X and >=1.18.X but not in 1.17.X. I managed to compile on top of this commit for Minecraft 1.16.5 and now I can finally use the backpack without fearing to lose items.

commented

If you can PR the fix for 1.16.5, I can get it out sooner.

commented

There is no commit to merge :-) . I build the 90a303f commit from your 1.17.X branch. This branch seems to be able support both, minecraft 16 and 17 features.

I tried to fix the bug in the 1.16.X branch but I failed because my brain works not vevy well on object-oriented programming languages. I'm tied to plain C .

I realise that the 1.17.X branch does not contain most of your contributions of the other branches since 2022. Right now I implement the missing backpacks you've added in the other branches. That seems to work so far.

commented

Ok, created a new branch on my fork where i've implemented the features i like. Works great on my Arclight server. I missed out all the shelves and wandering trader stuff. Now I have the most fancy and simple backpack mod. Thank you for your hard work on this. I enjoy your mod a lot. Without those Uber Furnace, Enchantment, Brewing, Lava/Water Bucket, Autorepair/Healing, Upgrade Nonsense.

robberer@51900e1