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 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 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) * 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 ## TShock 4.5.3
* Added permissions for using Teleportation Potions, Magic Conch, and Demon Conch. (@drunderscore) * Added permissions for using Teleportation Potions, Magic Conch, and Demon Conch. (@drunderscore)

@ -1 +1 @@
Subproject commit 27b275538bffb1f0fcb8b9c1830bc715373f5da1 Subproject commit 4ac9528825390ac3a15f096b248fcda33f5d210f