Shopkeepers

Shopkeepers

2M Downloads

Shopkeeper data file corrupts upon adding a head from freshcoal

blablubbabcDEV opened this issue ยท 2 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/342

Originally posted by iDrmzIt (Sep 16, 2015):

What steps will reproduce the problem?

  1. Put this command in a command block. /give [at]p skull 1 3 {display:{Name:"Bread"},SkullOwner:{Id:"a75e3f60-2242-4429-8ece-bcde7753b064",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjM0ODdkNDU3ZjkwNjJkNzg3YTNlNmNlMWM0NjY0YmY3NDAyZWM2N2RkMTExMjU2ZjE5YjM4Y2U0ZjY3MCJ9fX0="}]}}}2. Take the head obtained from the command block and put it as a trade in a Shopkeeper3. It works as intended... however, read 4.4. Reload server, Data file resets.What is the expected output? What do you see instead?
    I expected this to be able to sell custom freshcoal heads, but upon reload that wasn't the caseWhat version of the product are you using?
    Newest.Do you have an error log of what happened?
    NoPlease provide any additional information below.
    There's no additional info rather than saying "Great job on the plugin"
commented

Originally commented by blablubbabc (Sep 16, 2015):

This is a spigot/bukkit bug, with their item serialization (part of the API which plugins use to save itemstacks to config files): it doesn't support player heads with custom textures (no skull owner) currently. See my ticket about this issue here: https:hub.spigotmc.org/jira/browse/SPIGOT-1066
Duplicate of this closed ticket.

commented

Originally closed by blablubbabc (Sep 16, 2015)