Lakatrazz / BONELAB-Fusion

A multiplayer mod for BONELAB.
MIT License
122 stars 45 forks source link

Fix module conflict issue #16

Closed notnotnotswipez closed 1 year ago

notnotnotswipez commented 1 year ago

There was a small error in the way a modules id was sent over the network, which made tag ids that were above 0 return 256. This caused only the module with id 0 to ever function properly, the rest would be out of range of the Handlers list. This PR fixes this issue by removing the bit manipulation and just using BitConverter instead.