Merge pull request #1621 from DankRank/playerid-rename
Rename PlayerID to PlayerId in SpawnEventArgs
This commit is contained in:
commit
423abb15c2
2 changed files with 3 additions and 2 deletions
|
|
@ -83,6 +83,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
* Removed the stat tracking system. (@hakusaro)
|
* Removed the stat tracking system. (@hakusaro)
|
||||||
* Fixed erroneous kicks and bans when using `KickOnMediumcoreDeath` and `BanOnMediumcoreDeath` options. (@DankRank)
|
* Fixed erroneous kicks and bans when using `KickOnMediumcoreDeath` and `BanOnMediumcoreDeath` options. (@DankRank)
|
||||||
* Removed `TSPlayer.InitSpawn` field. (@DankRank)
|
* Removed `TSPlayer.InitSpawn` field. (@DankRank)
|
||||||
|
* `OnPlayerSpawn`'s player ID field is now `PlayerId`. (@DankRank)
|
||||||
|
|
||||||
## TShock 4.3.25
|
## TShock 4.3.25
|
||||||
* Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6.
|
* Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6.
|
||||||
|
|
|
||||||
|
|
@ -803,7 +803,7 @@ namespace TShockAPI
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The Terraria playerID of the player
|
/// The Terraria playerID of the player
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public byte PlayerID { get; set; }
|
public byte PlayerId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// X location of the player's spawn
|
/// X location of the player's spawn
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -827,7 +827,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
Player = player,
|
Player = player,
|
||||||
Data = data,
|
Data = data,
|
||||||
PlayerID = pid,
|
PlayerId = pid,
|
||||||
SpawnX = spawnX,
|
SpawnX = spawnX,
|
||||||
SpawnY = spawnY,
|
SpawnY = spawnY,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue