Minor refactors

This commit is contained in:
Chris 2020-06-02 17:19:00 +09:30
parent 93a7b0aafe
commit c7a6d044f4
5 changed files with 18 additions and 25 deletions

View file

@ -47,7 +47,7 @@ namespace TShockAPI
GetDataHandlers.SendTileSquare += STSHandler.OnReceive;
NetModuleHandler = new Handlers.NetModules.NetModulePacketHandler();
GetDataHandlers.LoadNetModule += NetModuleHandler.OnReceive;
GetDataHandlers.ReadNetModule += NetModuleHandler.OnReceive;
// Setup hooks
GetDataHandlers.GetSection += OnGetSection;