ProtocolLib

3M Downloads

Create packet not working with mojmap

Xiao-MoMi opened this issue · 1 comments

commented
  • [ √ ] This issue is not solved in a development build

Describe the bug
java.lang.NullPointerException: Unable to create packet instance for class class net.minecraft.network.protocol.game.ClientboundAddEntityPacket
at java.util.Objects.requireNonNull(Objects.java:235) ~[?:?]
at com.comphenix.protocol.injector.StructureCache.lambda$newPacket$2(StructureCache.java:99) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:103) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:113) ~[ProtocolLib.jar:?]

To Reproduce
Steps to reproduce the behavior:
PacketContainer entityPacket = new PacketContainer(PacketType.Play.Server.SPAWN_ENTITY);

Version Info
dump-2024-02-17_17.05.12.txt

commented

After testing with paper, it's actually a problem with Mojmap
image