ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

Create packet not working with mojmap

Open Xiao-MoMi opened this issue 4 months ago • 1 comments

  • [ √ ] 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

Xiao-MoMi avatar Feb 17 '24 09:02 Xiao-MoMi

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

Xiao-MoMi avatar Feb 17 '24 09:02 Xiao-MoMi