ObsidianMC / Obsidian

A C# implementation of the Minecraft server protocol.
GNU General Public License v3.0
413 stars 42 forks source link

Fix entities #450

Closed Tides closed 2 months ago

Tides commented 2 months ago

This fixes various entity issues discovered through my testing. I re-implemented the BundledDelimiterPacket (now BundledPacket) to take in a list of packets and serialize them all at once instead. That change was added for SpawnEntity as any packet alongside it and used to configure the entity needs to be processed on the same tick to avoid any issues.