summaryrefslogtreecommitdiffstats
path: root/Plugins/Core
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-22 16:46:38 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-22 16:46:38 +0100
commit41d55ef86b14abd9fbbdce7d6b2518b20b0cb33c (patch)
treeb06fc3a2c20a756a8ebb58d1b0035d8cb490ef65 /Plugins/Core
parentFixed a potential deadlock in cChunkMap::m_CSLayers vs cWorld::m_CSAllEntities (diff)
downloadcuberite-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.lua2
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