Remove TSPlayer.InitSpawn
This commit is contained in:
parent
9ac3dfa228
commit
1eae5ae671
3 changed files with 1 additions and 4 deletions
|
|
@ -82,6 +82,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
* Fixed the disappearing problem when placing tile entities. (@mistzzt)
|
* Fixed the disappearing problem when placing tile entities. (@mistzzt)
|
||||||
* 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)
|
||||||
|
|
||||||
## 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.
|
||||||
|
|
|
||||||
|
|
@ -2445,8 +2445,6 @@ namespace TShockAPI
|
||||||
if (OnPlayerSpawn(args.Player, args.Data, player, spawnx, spawny))
|
if (OnPlayerSpawn(args.Player, args.Data, player, spawnx, spawny))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
args.Player.InitSpawn = true;
|
|
||||||
|
|
||||||
if ((Main.ServerSideCharacter) && (args.Player.sX > 0) && (args.Player.sY > 0) && (args.TPlayer.SpawnX > 0) && ((args.TPlayer.SpawnX != args.Player.sX) && (args.TPlayer.SpawnY != args.Player.sY)))
|
if ((Main.ServerSideCharacter) && (args.Player.sX > 0) && (args.Player.sY > 0) && (args.TPlayer.SpawnX > 0) && ((args.TPlayer.SpawnX != args.Player.sX) && (args.TPlayer.SpawnY != args.Player.sY)))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -228,8 +228,6 @@ namespace TShockAPI
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTime LastThreat { get; set; }
|
public DateTime LastThreat { get; set; }
|
||||||
|
|
||||||
public bool InitSpawn;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the player should see logs.
|
/// Whether the player should see logs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue