Closed Prof-Bloodstone closed 2 years ago
I think best I can do, until a specific reproduction is found, is add some debug logging if the json parsing fails.
@Machine-Maker I think I found the cause - VT used to serialize the name to legacy formatting (or more probably the MobHeads module used to use legacy formatting):
PublicBukkitValues: {"vanillatweaks:head_name": "§eSlime's Head"}
Would it be acceptable to add a backwards-compatible deserializer - if it can't deserialize a component, it could try deserializing legacy name?
yeah, that makes sense. Surprised this didn't come up before. Its been a while since it switched to using json instead of legacy.
Expected behavior
No error :P
Observed/Actual behavior
Steps/models to reproduce
No clue - trying to track down the head which caused it.
Plugin and Datapack List
Plugins (28): ArmorStandEditor, BuycraftX, CapAFK, CarbonChat, Chunky, CoreProtect, DeathLog, DiscordSRV, dynmap, FirstJoinMessage, GFly, GSit, Hat, IsSlimeChunk, LuckPerms, OnePlayerSleep, OpenInv, PrometheusExporter, ServerUtils, spark, SpectatorMode, VanillaTweaks, VanishNoPacket, Vault, WanderfulAdditions, WorldBorder, WorldEdit, WorldGuard
There are 7 data packs enabled: [vanilla (built-in)], [file/bukkit (world)], [file/Anti_Ender-Grief_1.0 (world)], [file/NV (world)], [file/UniversalDyes (world)], [file/track_all_stats (world)], [file/BlazeAndCaveAdvancements (world)]
Server Version Info
This server is running Paper version git-Paper-58 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) (Git: e294802) You are 3 version(s) behind Download the new version at: https://papermc.io/downloads Previous version: git-Paper-379 (MC: 1.18.2)
Plugin Version
0.2.0-SNAPSHOT (I'm on beta-22)
Other
No response