[1.19.2] Error creating Entity Teleport Packets
LOOHP opened this issue ยท 0 comments
- This issue is not solved in a development build
Describe the bug
An error is thrown when creating entity teleport packets on build 607. This problem did not exist on build 606.
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: java.lang.NullPointerException: Unable to create packet instance for class class net.minecraft.network.protocol.game.PacketPlayOutEntityTeleport
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.injector.StructureCache.lambda$newPacket$2(StructureCache.java:97)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:101)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:111)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:117)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:384)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:379)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at InteractionVisualizer-1.18.2.2.jar//com.loohp.interactionvisualizer.protocol.ServerPacketSender.updateItem(ServerPacketSender.java:288)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at InteractionVisualizer-1.18.2.2.jar//com.loohp.interactionvisualizer.managers.PacketManager.lambda$updateItem$24(PacketManager.java:451)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[22:20:05] [InteractionVisualizer Async Processing Thread #7/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
To Reproduce
PacketContainer packet = protocolManager.createPacket(PacketType.Play.Server.ENTITY_TELEPORT);
Run this line of code using build 607 on Minecraft 1.19.2
Expected behavior
Packet creates successfully.
Screenshots
N/A
Version Info
https://pastebin.com/AMqSuDaM
Additional context
N/A