Open Smudgge opened 1 month ago
Is there still an error when recreating the shop? And what server software? Was already in the process of looking at how items are stored since paper/spigot and therefore any forks won't support their own serialization, issue being that if this is the cause of the problem any shops will have to be recreated anyways with a new system since they don't support it.
Is there still an error when recreating the shop?
When players re-create the shop it works :3
And what server software?
Purpur as seen in the /quickshop paste
It's just a bit strange because the items being sold to the shop work perfectly before the shop adds them to the chest. It's interesting as the chest shop doesn't think the items are different. Yet changes the item after being sold.
Is there still an error when recreating the shop?
When players re-create the shop it works :3
And what server software?
Purpur as seen in the/quickshop paste
It's just a bit strange because the items being sold to the shop work perfectly before the shop adds them to the chest. It's interesting as the chest shop doesn't think the items are different. Yet changes the item after being sold.
What is it removing? It sounds more and more like a serialization issue from the API side than in QuickShop
SelectedItem: {id: "minecraft:skeleton_spawn_egg", count: 64, components: {"minecraft:lore":
['{"extra":[{"bold":false,"color":"aqua","italic":false,"obfuscated":false,"strikethrough":false,"text":
"Right click to spawn the boss!","underlined":false}],"text":""}'], "minecraft:custom_name":
'{"extra":[{"bold":true,"color":"#3A45FF","italic":false,"obfuscated":false,"strikethrough":false,"text":
"Lag Spike ","underlined":false},{"bold":true,"color":"gold","italic":false,"obfuscated":false,
"strikethrough":false,"text":"Boss ","underlined":false},{"bold":true,"color":"yellow",
"italic":false,"text":"Egg"}],"text":""}', "minecraft:enchantments": {show_in_tooltip:
0b, levels: {"minecraft:unbreaking": 1}}, "minecraft:custom_data":
{BossArenaTokenID: "SuperheroEgg"}, "minecraft:hide_additional_tooltip": {}}}
Enfesis on
"minecraft:custom_data": {BossArenaTokenID: "SuperheroEgg"}
SelectedItem: {id: "minecraft:skeleton_spawn_egg", count: 1, components: {"minecraft:lore":
['{"extra":[{"bold":false,"color":"aqua","italic":false,"obfuscated":false,"strikethrough":false,
"text":"Right click to spawn the boss!","underlined":false}],"text":""}'], "minecraft:enchantments":
{show_in_tooltip: 0b, levels: {"minecraft:unbreaking": 1}}, "minecraft:custom_name": '{"extra":
[{"bold":true,"color":"#3A45FF","italic":false,"obfuscated":false,"strikethrough":false,"text":
"Lag Spike ","underlined":false},{"bold":true,"color":"gold","italic":false,"obfuscated":false,
"strikethrough":false,"text":"Boss ","underlined":false},{"bold":true,"color":"yellow","italic":false,"text":"Egg"}],"text":""}',
"minecraft:hide_additional_tooltip": {}}}
The custom_data
is now gone.
Also, where players can re-create their shops to fix it. Some players have loads and loads of shops they would have to re-create. Especially if this happens again next Minecraft update, it be nice if it was fixed by the plugin.
Also, where players can re-create their shops to fix it. Some players have loads and loads of shops they would have to re-create. Especially if this happens again next Minecraft update, it be nice if it was fixed by the plugin.
It would be nice indeed, unfortunately spigot and paper don't support their serializer anymore so it may not be possible.
Description
Chest shops that were created before
1.21
either remove custom NBT or throw the following.Steps to reproduce
1.20.4
server, and create a chest shop that buys something with custom NBT.1.21
.Expected Behaviour
Players should be able to sell items with custom NBT to older shops.
Screenshots
When using an AdvancedEnchants enchant
Client
Server
Other custom NBT Items
When selling simpler custom NBT items the NBT is just removed.
/quickshop paste
URLhttps://ghost-chu.github.io/quickshop-hikari-paste-viewer/?remote=https%3A%2F%2Fbytebin.lucko.me%2FAZtcMvf0Al
Additional Context
No response
Checklist