Skip to content

Signs with click event dont serialize properly #175

@SB2DD

Description

@SB2DD

Describe the issue
When having signs with a click_event on a slime world, restarting the server will make the sign be fully blank.

On world start, you can even see the following error:

minecraft:sign // net.minecraft.world.level.block.entity.SignBlockEntity@BlockPos{x=0, y=62, z=-3}: Failed to decode value '{color:"black",has_glowing_text:0b,messages:[{click_event:{action:"run_command",command:"say e"},text:"asdasdasdas"},{"":""},{"":""},{"":""}]}' from field 'front_text': Failed to parse either. First: Failed to parse either. First: Not a string; Second: Not a list: {"":""}; Second: No matching codec found; Failed to parse either. First: Failed to parse either. First: Not a string; Second: Not a list: {"":""}; Second: No matching codec found; Failed to parse either. First: Failed to parse either. First: Not a string; Second: Not a list: {"":""}; Second: No matching codec found; Input is not a list of 4 elements

This error therefore makes me believe this is a serialization issue somehow.

Spigot version
Latest on develop branch (1.21.8, f3501aa)

Plugin version
Latest on develop branch (1.21.8, 4.2.0-SNAPSHOT)

How to reproduce

  1. Place a sign with click_event in one of its texts on a slime world
  2. Restart the server
  3. empty sign

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions