From 98d574f05ea46763fc9e762b0719ab3ef2271230 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 16 Aug 2013 09:20:05 +0200 Subject: No more Core in the MCServer repo --- MCServer/Plugins/Core/top.lua | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 MCServer/Plugins/Core/top.lua (limited to 'MCServer/Plugins/Core/top.lua') diff --git a/MCServer/Plugins/Core/top.lua b/MCServer/Plugins/Core/top.lua deleted file mode 100644 index f85910475..000000000 --- a/MCServer/Plugins/Core/top.lua +++ /dev/null @@ -1,13 +0,0 @@ -function HandleTopCommand( Split, Player ) - - local World = Player:GetWorld() - - local PlayerPos = Player:GetPosition() - local Height = World:GetHeight( math.floor( PlayerPos.x ), math.floor( PlayerPos.z ) ) - SetBackCoordinates( Player ) - Player:TeleportToCoords( PlayerPos.x, Height+1, PlayerPos.z ) - SendMessageSuccess( Player, "Teleported to the topmost block" ) - - return true - -end -- cgit v1.2.3