diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-22 16:46:38 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-22 16:46:38 +0100 |
commit | 41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c (patch) | |
tree | b06fc3a2c20a756a8ebb58d1b0035d8cb490ef65 /Plugins/Core/teleport.lua | |
parent | Fixed a potential deadlock in cChunkMap::m_CSLayers vs cWorld::m_CSAllEntities (diff) | |
download | cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar.gz cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar.bz2 cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar.lz cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar.xz cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.tar.zst cuberite-41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c.zip |
Diffstat (limited to '')
-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
|