Can't create Add Entity packets in 1.20.6
andrewkm opened this issue ยท 4 comments
Both ploppyperson/StackMob-5#288 & ploppyperson/StackMob-5#287 are being broken by the latest builds of ProtocolLib.
288 is a duplicate of #2998
java.lang.NullPointerException: Unable to create packet instance for class class net.minecraft.network.protocol.game.ClientboundAddEntityPacket - true - com.comphenix.protocol.wrappers.WrappedStreamCodec[handle=net.minecraft.network.codec.StreamCodec$5@19c8fa8]
at java.base/java.util.Objects.requireNonNull(Objects.java:246) ~[?:?]
at ProtocolLib.jar/com.comphenix.protocol.injector.StructureCache.lambda$newPacket$4(StructureCache.java:130) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:134) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:144) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:119) ~[ProtocolLib.jar:?]
at StackMob-5.8.10.jar/uk.antiperson.stackmob.hook.hooks.ProtocolLibHook.spawnFakeArmorStand(ProtocolLibHook.java:68) ~[StackMob-5.8.10.jar:?]
at StackMob-5.8.10.jar/uk.antiperson.stackmob.packets.ProtocolLibFakeArmorStand.spawnFakeArmorStand(ProtocolLibFakeArmorStand.java:26) ~[StackMob-5.8.10.jar:?]
at StackMob-5.8.10.jar/uk.antiperson.stackmob.packets.TagHandler.newlyInRange(TagHandler.java:38) ~[StackMob-5.8.10.jar:?]
at StackMob-5.8.10.jar/uk.antiperson.stackmob.packets.PlayerWatcher.checkPlayer(PlayerWatcher.java:47) ~[StackMob-5.8.10.jar:?]
at StackMob-5.8.10.jar/uk.antiperson.stackmob.tasks.TagCheckTask.run(TagCheckTask.java:20) ~[StackMob-5.8.10.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1699) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:467) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1571) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1231) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-128-3181470]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]```
914bc9a has fixed ploppyperson/StackMob-5#288.
ploppyperson/StackMob-5#287 remains broken (1.20.6). (Tested against 4051cac)
Stackmob issues are now fixed. :)
Tested against ploppyperson/StackMob-5@7e2dd33 & 389233f