dizzyd / Mekanism

A mod for Minecraft
5 stars 0 forks source link

Standardize packet handling in Tiles #41

Closed dizzyd closed 5 years ago

dizzyd commented 5 years ago

Right now, TileEntities use one method (getNetworkedData) to encode packets and another to decode (handlePacketData). This doesn't read well and is also highly order dependent on encode/decode so a good place for bugs to hide.