TShock 4.5.12
hakusaro
released this
07 Dec 05:34
·
640 commits
to general-devel
since this release
Notable changes
- 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 the
OnSignRead
handler inGetDataHandler
, and added theSignRead
event. Added check to ensure the sign being read is within world bounds(x >= 0 && y >= 0 && x < Main.maxTilesX && y < Main.maxTilesY)
. (@drunderscore) - Added check to
HandleNpcTalk
to ensure the passed NPC index is within bounds (>= -1 && <Main.maxNPCs
). (@drunderscore)
Upgrading
To upgrade TShock, replace all of the files in the location of your server installation with all of the files from the release zip we provide. Overwrite all files. No data will be lost.