TSAPI: Add OnSendNetData hook (thanks @Stealownz!)

This commit is contained in:
Lucas Nicodemus 2021-05-24 02:32:10 -07:00
parent 666a07f5cf
commit ef0e83d5cc
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
* Fixed ridiculous typo in `GetDataHandlers` which caused TShock to read the wrong field in the packet for `usingBiomeTorches`. (@hakusaro, @Arthri)
* Fixed torchgod settings to include whether or not torchgod has been fought by the player before and respect `usingBiomeTorches` setting. (@Quinci135)
* Fixed /worldmode not synchronising data to players after updating the world state (@bartico6, @Arthri)
* Added `OnNetSendData` hook to TSAPI, which enables developers to hook `SendData` to intercept traffic being sent from the server to clients. (@Stealownz)
## TShock 4.5.3
* Added permissions for using Teleportation Potions, Magic Conch, and Demon Conch. (@drunderscore)