Merge pull request #2909 from drunderscore/fix/pass-player-through-to-sync-tile-picking

Set the `GetDataHandledEventArgs.Player` property for the `SyncTilePicking` data handler
This commit is contained in:
Chris 2023-02-03 20:55:56 +10:30 committed by GitHub
commit 07f173e698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -2248,6 +2248,7 @@ namespace TShockAPI
var args = new SyncTilePickingEventArgs
{
Player = player,
PlayerIndex = playerIndex,
TileX = tileX,
TileY = tileY,

View file

@ -105,6 +105,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Initialized achievements and the `AchievementManager` on the server. This ensures that players cannot cause exceptions to be thrown, chat messages are always logged, and allows achievement names to be localized in the console. Also added a test case for this. (@drunderscore)
* Allowed multiple test cases to be in TShock's test suite. (@drunderscore)
* Fixed unable to use Purification/Evil Powder in jungle. (@sgkoishi)
* Set the `GetDataHandledEventArgs.Player` property for the `SyncTilePicking` data handler. (@drunderscore)
## TShock 5.1.3
* Added support for Terraria 1.4.4.9 via OTAPI 3.1.20. (@SignatureBeef)