Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsComp authored Mar 2, 2018
1 parent d582406 commit cc80508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ServerTools/src/NewSpawnTele/NewSpawnTele.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public static void SetNewSpawnTele(ClientInfo _cInfo)
{
EntityPlayer _player = GameManager.Instance.World.Players.dict[_cInfo.entityId];
Vector3 _position = _player.GetPosition();
string x = _position.x.ToString();
string y = _position.y.ToString();
string z = _position.z.ToString();
int x = (int)_position.x;
int y = (int)_position.y;
int z = (int)_position.z;
string _sposition = x + "," + y + "," + z;
New_Spawn_Tele_Position = _sposition;
string _phrase525;
Expand Down

0 comments on commit cc80508

Please sign in to comment.