summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-07-30 23:26:50 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-07-30 23:26:50 +0200
commit25abfb9476cac32d8db59b73f8bdfc60ba85ff79 (patch)
tree0c8b1b25d0ef117317b5db84f9971aa170e4f49b /MCServer
parentAnother partial redesign of WebAdmin (diff)
downloadcuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar.gz
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar.bz2
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar.lz
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar.xz
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.tar.zst
cuberite-25abfb9476cac32d8db59b73f8bdfc60ba85ff79.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/MagicCarpet/plugin.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/MagicCarpet/plugin.lua b/MCServer/Plugins/MagicCarpet/plugin.lua
index b78c45f14..2fe5ba84f 100644
--- a/MCServer/Plugins/MagicCarpet/plugin.lua
+++ b/MCServer/Plugins/MagicCarpet/plugin.lua
@@ -37,6 +37,7 @@ function HandleCarpetCommand( Split, Player )
if( Carpet == nil ) then
Carpets[ Player ] = cCarpet:new()
Player:SendMessage("You're on a magic carpet!" )
+ Player:SendMessage("Look straight down to descend. Jump to ascend!" )
else
Carpet:remove()
Carpets[ Player ] = nil
@@ -72,8 +73,7 @@ function OnPlayerMoving(Player)
Carpet:moveTo( cLocation:new( Player:GetPosX(), Player:GetPosY() - 1, Player:GetPosZ() ) )
else
if( Player:GetPosY() < Carpet:getY() ) then
- LOGINFO("Fell tru mc!")
- Player:TeleportTo( Player:GetPosX(), Carpet:getY(), Player:GetPosZ() )
+ Player:TeleportToCoords(Player:GetPosX(), Carpet:getY(), Player:GetPosZ())
end
Carpet:moveTo( cLocation:new( Player:GetPosX(), Player:GetPosY(), Player:GetPosZ() ) )
end