CloudburstMC / Protocol

A protocol library for Minecraft Bedrock Edition
https://git.io/ProtocolLib
Apache License 2.0
312 stars 95 forks source link

Use LevenEventType instead of event id in LevelEventGenericPacket #170

Closed valaphee closed 1 year ago

valaphee commented 1 year ago

Description

The event id is the same as LevelEventType, and this will remove version dependend code outside of Cloudburst, as ids are already corrected in Cloudburst when an update shifts the LevelEventType ids.

Testing

Has been tested with Geyser on Waterfall (ids are the same, and matches)