From 209bd162486938dca89109500eb6f5afa3c2bcb1 Mon Sep 17 00:00:00 2001 From: CloudTronX Date: Sat, 15 Mar 2025 12:22:53 -0700 Subject: [PATCH] added support to decimal coordinate teleportation --- Campofinale/Commands/Handlers/CommandTeleport.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Campofinale/Commands/Handlers/CommandTeleport.cs b/Campofinale/Commands/Handlers/CommandTeleport.cs index 3ab8037..93abc67 100644 --- a/Campofinale/Commands/Handlers/CommandTeleport.cs +++ b/Campofinale/Commands/Handlers/CommandTeleport.cs @@ -21,11 +21,6 @@ namespace Campofinale.Commands.Handlers return; } - for (int i=0; i < args.Length; i++) - { - args[i] = Uri.UnescapeDataString(args[i]).Replace(".", ","); - } - float x, y, z; x = args[0] == "~" ? target.position.x : float.Parse(args[0]);