Radiant Backpack only showing 45 slots instead of 54
mrcoffee1026 opened this issue ยท 6 comments
Description (Required)
Upgraded a pack from gilded... the lore and item title are updated properly... the data in the user file is unchanged.
Steps to reproduce the Issue (Required)
Take any Gilded backpack and upgrade it to a Radiant Backpack using the recipe.
Item will state it is now a Radiant Backpack, Lore states 54 slots.
Open the backpack and it is a 45 slot pack.
screenshots:
https://imgur.com/a/Z3wm7Vf
Expected behavior (Required)
Should open the pack to a 54 slot pack.
Server Log / Error Report
I'm sure this is unfindable in any logs but the data file can be viewed, the entry for their backpack #13 for this user can be seen here:
'13':
size: 45
contents: {}
Environment (Required)
[22:40:23 INFO]: Paper v1_14_R1
[22:40:23 INFO]:
[22:40:23 INFO]: CS-CoreLib vDEV - 67 (git 1bd1883b)
[22:40:23 INFO]: Slimefun vDEV - 158 (git effca27)
[22:40:23 INFO]:
[22:40:23 INFO]: Installed Addons (8)
[22:40:23 INFO]: Barrels vDEV - 2 (git 847bc83b)
[22:40:23 INFO]: ExtraGear vDEV - 3 (git de222ab7)
[22:40:23 INFO]: ChestTerminal v1.0
[22:40:23 INFO]: HotbarPets vDEV - 10 (git 7d790905)
[22:40:23 INFO]: ExoticGarden vDEV - 17 (git 122f5555)
[22:40:23 INFO]: SoulJars vDEV - 3 (git ebabf39f)
[22:40:23 INFO]: ElectricSpawners vDEV - 2 (git 49ffa319)
[22:40:23 INFO]: ColoredEnderChests vDEV - 6 (git 6e80c4ba)
Oh you're right looks to be all backpack sizes, currently. I just upgraded a small to a regular and it stayed a small on the inside while the lore and item title were properly updated.
Well, it should be fixed now, all previously crafted Backpacks will still be corrupted though, so you may have to change the size manually.
There is a new Ticket for an IndexOutOfBoundsException related to it though.
No still doing it on build 159 if that's where it should have been fixed. I will say the backpack I experimented in did actually change the size specified in my data file size all the way up to the Radiant (54) when I checked it, but the backpack still opens with only 9 slots. so maybe the cache is caching the wrong value and saving that number back to the file later during restart or something. Just a guess. Also modifying my other player's backpack's "size" value to be 54 and restarting did not result in him having a properly sized backpack either.
Yup, I would guess the same.
If no PR shows up, I may fix it when I am home.