Open reamianv opened 3 weeks ago
Hello @reamianv,
Which version of ProtocolLib are you using?
What I tested with ProtocolLib was:
Observed results with Purpur 1.20.1 + Packet Event + protocollib Yamipa 1.3.2 / ProtocolLib 5.3.0 version.
The image is present, but it isn’t visible, so I downgraded Yamipa back to the previously working ProtocolLib 5.0.0, but the image still does not display. I also created a backup, placed the image in the appropriate location, and received a message saying the image was created, yet it still doesn't show up. I repeated this process with ProtocolLib 5.3.0.
Afterward, I reverted to Yamipa 1.3.2 beta and ProtocolLib 5.0.0.
[11:07:04] [Server thread/WARN]: [YamipaPlugin] Task #24098 for YamipaPlugin v1.3.2 generated an exception java.lang.NullPointerException: constructor at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907) ~[guava-31.1-jre.jar:?] at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getConstructorAccessor(MethodHandleHelper.java:70) ~[ProtocolLib.jar:?] at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:167) ~[ProtocolLib.jar:?] at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:145) ~[ProtocolLib.jar:?] at com.comphenix.protocol.wrappers.LegacyDataWatcher.newHandle(LegacyDataWatcher.java:113) ~[ProtocolLib.jar:?] at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:108) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:85) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher.(WrappedDataWatcher.java:86) ~[ProtocolLib.jar:?]
at io.josemmo.bukkit.plugin.packets.EntityMetadataPacket.(EntityMetadataPacket.java:19) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeItemFrame.getRenderPackets(FakeItemFrame.java:156) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.spawnOnceLoaded(FakeImage.java:454) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.spawn(FakeImage.java:417) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.ImageRenderer.onPlayerLocationChange(ImageRenderer.java:419) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.ImageRenderer.lambda$onPlayerTeleport$3(ImageRenderer.java:456) ~[YamipaPlugin-1.3.2.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2058]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1506) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1420) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2058]
at java.lang.Thread.run(Thread.java:833) ~[?:?]