BG-Software-LLC / WildChests

Sell chests, auto crafters, storage units, larger chests and more in one plugin!
https://bg-software.com/wildchests/
GNU General Public License v3.0
32 stars 22 forks source link

Chest Items lose Data/quantity on 1.21 #237

Closed InvisibleSpiders closed 3 months ago

InvisibleSpiders commented 3 months ago

Minecraft's Version

MC V 1.21, Paper 1.21 Build 39

Plugin's Version

Build 50 / Latast

Describe the bug

Updating server from Paper 1.20.4, to Paper 1.21 causes stored items in plugin chests to lose specific data and quantity. For example, banners lose their patterns, custom enchant books lose their enchants (ie EnchantsSquared). Stacks of items show only a quantity of 1.

To Reproduce

Load up server on 1.20.4, place a WildChests chest. Store several items (stacks, custom banners, etc). Save and shut-down server. Update to paper 1.21. Boot server and check the chest items.

Additional Information

Config.yml Pastebin

OmerBenGera commented 3 months ago

Check out latest dev build, should be fixed You must run for once the new jar on the old version (1.20.4), only then upgrade to 1.20.6/1.21.

InvisibleSpiders commented 3 months ago

That's awesome, thank you for your hard work! I will give this a go in a few hours.

InvisibleSpiders commented 3 months ago

Check out latest dev build, should be fixed You must run for once the new jar on the old version (1.20.4), only then upgrade to 1.20.6/1.21.

This new build seems to have solved the issue. Thanks again!