aadnk / PacketWrapper

Packet wrapper classes for ProtocolLib
GNU Lesser General Public License v3.0
47 stars 129 forks source link

Wrong setType and setEntityID not working... #13

Closed ItzAmirreza closed 3 years ago

ItzAmirreza commented 3 years ago

Although your WrapperPlayServerSpawnEntityLiving doesn't support 1.16.4, I tried using them for my plugin and everything works fine but setType doesn't work correctly. For instance, I tried doing packet.setType(EntityType.ARMOR_STAND) and it spawned a giant, or I tried EntityType.BLAZE and it spawned a baby piglin. I noticed that setType is deprecated so something might be wrong with it with 1.16 so I decided to use setEntityID for setting my entity type. tried ids 1, 78, and 30 and none of them spawned anything.

Wonder if it is an issue to get solved or if not/ how may I solve this problem.

Protocollib version: 4.6.0, and the latest class of WrapperPlayServerSpawnEntityLiving is used. Minecraft Server Version that I'm testing in: 1.16.4

Thanks in advance.