BeardedManStudios / ForgeNetworkingRemastered

See various forks, also please join the Forge Community fork of Forge Alloy! -> https://github.com/ForgeAlloyCommunity/ForgeAlloy
https://twitter.com/FarrisFaulds
Apache License 2.0
1.49k stars 311 forks source link

Update MessageContractChecker.cs #381

Closed RockyGitHub closed 3 years ago

RockyGitHub commented 3 years ago

Added a parameterless constructor check to the message checker

RockyGitHub commented 3 years ago

This is incase someone adds a constructor that takes in a parameter to a Message. If they don't also define a parameter-less constructor, the network stops.