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 diff --git a/MCServer/webadmin/template.html b/MCServer/webadmin/template.html index 03de23360..822f73857 100644 --- a/MCServer/webadmin/template.html +++ b/MCServer/webadmin/template.html @@ -2,16 +2,14 @@ {TITLE} | {PLUGIN_NAME} - - - + + -
+ Login: {USERNAME}
- -

MCServer, the Minecraft Server coded in C++!

+
-

Welcome {USERNAME}, to the Control Panel! :D

{CONTENT}