ProtocolLib

3M Downloads

1.19 Spawn Entity does not respect entity id

Chasewhip8 opened this issue ยท 1 comments

commented

Describe the bug
In 1.19 with latest dev build, the spawn entity packet does not respect the type written to position 1 as follows:

    packet.getIntegers()
            .write(0, id)
            .write(1, 52);

Where 52 should be a magma slime, it always spawns an allay regardless of id.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to spawn a magma slime with the spawn entity packet in 1.19

Expected behavior
Spawns a magma slime

Version Info
https://pastebin.com/jny2bccF

commented

You need to use the entity type modifier, you are editing something else.