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:
commit
07f173e698
2 changed files with 2 additions and 0 deletions
|
|
@ -2248,6 +2248,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
var args = new SyncTilePickingEventArgs
|
var args = new SyncTilePickingEventArgs
|
||||||
{
|
{
|
||||||
|
Player = player,
|
||||||
PlayerIndex = playerIndex,
|
PlayerIndex = playerIndex,
|
||||||
TileX = tileX,
|
TileX = tileX,
|
||||||
TileY = tileY,
|
TileY = tileY,
|
||||||
|
|
|
||||||
|
|
@ -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)
|
* 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)
|
* Allowed multiple test cases to be in TShock's test suite. (@drunderscore)
|
||||||
* Fixed unable to use Purification/Evil Powder in jungle. (@sgkoishi)
|
* 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
|
## TShock 5.1.3
|
||||||
* Added support for Terraria 1.4.4.9 via OTAPI 3.1.20. (@SignatureBeef)
|
* Added support for Terraria 1.4.4.9 via OTAPI 3.1.20. (@SignatureBeef)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue