Added check to HandleNpcTalk to ensure the passed NPC index is within
bounds (>= -1 && < `Main.maxNPCs`).
This commit is contained in:
parent
ce056f1ce5
commit
97f33fea63
2 changed files with 10 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
|||
* Fixed the ability to spawn Zenith projectile with non-original items. (@AgaSpace)
|
||||
* Added hook `GetDataHandlers.OnNpcTalk` for NpcTalk and a handler for it that stops unregistered and logged out players from interacting with NPCs, preventing them from smuggling or duplicating items via NPC item slots. (@tru321)
|
||||
* Fixed the ability to create custom messages with your death (or the death of another player) (@AgaSpace)
|
||||
* Added check to `HandleNpcTalk` to ensure the passed NPC index is within bounds (>= -1 && < `Main.maxNPCs`). (@drunderscore)
|
||||
|
||||
## TShock 4.5.11
|
||||
* Add the new allowed buff TentacleSpike to NPC buff cheat detection bouncer. (@sgkoishi)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue