Updated tshock for terraria 1.0.6. Removed hardcore kick for now as it needs to be fixed.

This commit is contained in:
high 2011-08-09 18:15:47 -04:00
parent cf2f86985c
commit 8c22b3e448
3 changed files with 7 additions and 5 deletions

View file

@ -40,7 +40,7 @@ namespace TShockAPI
Commands.ChatCommands.Add(flush);
#endif
ServerHooks.SendBytes += ServerHooks_SendBytes;
NetHooks.SendBytes += ServerHooks_SendBytes;
ServerHooks.SocketReset += ServerHooks_SocketReset;
GameHooks.PostUpdate += GameHooks_Update;
}
@ -51,7 +51,7 @@ namespace TShockAPI
Commands.ChatCommands.Remove(dump);
Commands.ChatCommands.Remove(flush);
#endif
ServerHooks.SendBytes -= ServerHooks_SendBytes;
NetHooks.SendBytes -= ServerHooks_SendBytes;
ServerHooks.SocketReset -= ServerHooks_SocketReset;
GameHooks.PostUpdate -= GameHooks_Update;
}