Set player name
This commit is contained in:
parent
cf665f199f
commit
7263ff3a9b
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ namespace TShockAPI
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
args.Player.Difficulty = difficulty;
|
args.Player.Difficulty = difficulty;
|
||||||
|
args.TPlayer.name = name;
|
||||||
args.Player.ReceivedInfo = true;
|
args.Player.ReceivedInfo = true;
|
||||||
|
|
||||||
NetMessage.SendData((int)PacketTypes.TimeSet, -1, -1, "", 0, 0, Main.sunModY, Main.moonModY);
|
NetMessage.SendData((int)PacketTypes.TimeSet, -1, -1, "", 0, 0, Main.sunModY, Main.moonModY);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue