diff options
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/Core/teleport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Core/teleport.lua b/Plugins/Core/teleport.lua index 9fffec9a2..4dd13c64d 100644 --- a/Plugins/Core/teleport.lua +++ b/Plugins/Core/teleport.lua @@ -10,7 +10,7 @@ function HandleTPCommand( Split, Player ) elseif( OtherPlayer == Player ) then
Player:SendMessage( cChatColor.Green .. "Already there :)" )
else
- Player:TeleportTo( OtherPlayer )
+ Player:TeleportToEntity( OtherPlayer )
Player:SendMessage( cChatColor.Green .. "You teleported to "..OtherPlayer:GetName().."!" )
OtherPlayer:SendMessage( cChatColor.Green .. Player:GetName().." teleported to you!" )
end
|