From cda079f83b74a0ec3a2ceff482f91676f654977e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 16 Oct 2012 08:20:45 +0000 Subject: Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas) git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/sTick/onblockplace.lua | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 MCServer/Plugins/sTick/onblockplace.lua (limited to 'MCServer/Plugins/sTick/onblockplace.lua') diff --git a/MCServer/Plugins/sTick/onblockplace.lua b/MCServer/Plugins/sTick/onblockplace.lua deleted file mode 100644 index 6bc2ce46a..000000000 --- a/MCServer/Plugins/sTick/onblockplace.lua +++ /dev/null @@ -1,19 +0,0 @@ -function OnBlockPlace(Player, BlockX, BlockY, BlockZ, BlockFace, HeldItem) - - -- dont check if the direction is in the air - if BlockFace == BLOCK_FACE_NONE then - return false - end - - if (HeldItem.m_ItemType ~= 280) then - -- not a Stick of Ticking - return false - end - - LOG("Setting next block tick to {" .. BlockX .. ", " .. BlockY .. ", " .. BlockZ .. "}") - - Player:GetWorld():SetNextBlockTick(BlockX, BlockY, BlockZ); - - return true - -end \ No newline at end of file -- cgit v1.2.3