Updated tshock for terraria 1.0.6. Removed hardcore kick for now as it needs to be fixed.
This commit is contained in:
parent
cf2f86985c
commit
8c22b3e448
3 changed files with 7 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue