Merge pull request #666 from PhoenixICE/general-devel
merging even though this is PR#666 !!!
This commit is contained in:
commit
11edf7f61b
1 changed files with 3 additions and 3 deletions
|
|
@ -1144,10 +1144,10 @@ namespace TShockAPI
|
||||||
|
|
||||||
player.LastNetPosition = new Vector2(Main.spawnTileX*16f, Main.spawnTileY*16f);
|
player.LastNetPosition = new Vector2(Main.spawnTileX*16f, Main.spawnTileY*16f);
|
||||||
|
|
||||||
if (Config.RememberLeavePos && (RememberedPos.GetLeavePos(player.Name, player.IP) != Vector2.Zero))
|
if (Config.RememberLeavePos && (RememberedPos.GetLeavePos(player.Name, player.IP) != Vector2.Zero) && Config.ServerSideCharacter && Config.DisableLoginBeforeJoin)
|
||||||
{
|
{
|
||||||
player.RPPending=3;
|
player.RPPending=3;
|
||||||
player.SendMessage("You will be teleported to your last known location...", Color.Red);
|
player.SendMessage("You will be teleported to your last known location...", Color.Red);
|
||||||
}
|
}
|
||||||
|
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue