added support to decimal coordinate teleportation
This commit is contained in:
parent
23c6f57bb1
commit
209bd16248
@ -21,11 +21,6 @@ namespace Campofinale.Commands.Handlers
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i < args.Length; i++)
|
|
||||||
{
|
|
||||||
args[i] = Uri.UnescapeDataString(args[i]).Replace(".", ",");
|
|
||||||
}
|
|
||||||
|
|
||||||
float x, y, z;
|
float x, y, z;
|
||||||
|
|
||||||
x = args[0] == "~" ? target.position.x : float.Parse(args[0]);
|
x = args[0] == "~" ? target.position.x : float.Parse(args[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user