You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Save is called and NPCs with a PlayerHead in their Hologram, this error occurs.
[22:16:36] [Thread-53/ERROR]: [YamlStorage] Failed to save npc with id 1
[22:16:36] [Thread-53/WARN]: java.lang.IllegalStateException: Failed to convert NBT to JSON.
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:145)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:139)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:139)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.hologram.HologramItem.serialize(HologramItem.java:109)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.hologram.HologramImpl.getLine(HologramImpl.java:80)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.storage.yaml.YamlStorage.saveNpcs(YamlStorage.java:134)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.npc.NpcRegistryImpl.save(NpcRegistryImpl.java:84)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.commands.storage.SaveAllCommand.lambda$run$0(SaveAllCommand.java:24)
[22:16:36] [Thread-53/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[22:16:36] [Thread-53/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[22:16:36] [Thread-53/ERROR]: [YamlStorage] Failed to save npc with id 2
[22:16:36] [Thread-53/WARN]: java.lang.IllegalStateException: Failed to convert NBT to JSON.
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:145)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:139)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.libraries.packetevents.api.protocol.nbt.codec.NBTCodec.nbtToJson(NBTCodec.java:139)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.hologram.HologramItem.serialize(HologramItem.java:109)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.hologram.HologramImpl.getLine(HologramImpl.java:80)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.storage.yaml.YamlStorage.saveNpcs(YamlStorage.java:134)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.npc.NpcRegistryImpl.save(NpcRegistryImpl.java:84)
[22:16:36] [Thread-53/WARN]: at ZNPCsPlus-2.0.0-SNAPSHOT.jar//lol.pyr.znpcsplus.commands.storage.SaveAllCommand.lambda$run$0(SaveAllCommand.java:24)
[22:16:36] [Thread-53/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[22:16:36] [Thread-53/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
The text was updated successfully, but these errors were encountered:
When a Save is called and NPCs with a PlayerHead in their Hologram, this error occurs.
The text was updated successfully, but these errors were encountered: