From 05d71675f69e13d8ab590a33b38ee6d0f8a77b6f Mon Sep 17 00:00:00 2001 From: "luksor111@gmail.com" Date: Wed, 19 Dec 2012 21:19:36 +0000 Subject: Added dispensers (they can't dispense items yet) Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Blocks/BlockDispenser.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source/Blocks/BlockDispenser.h') diff --git a/source/Blocks/BlockDispenser.h b/source/Blocks/BlockDispenser.h index 4a54fbde5..581e0f49b 100644 --- a/source/Blocks/BlockDispenser.h +++ b/source/Blocks/BlockDispenser.h @@ -1,10 +1,17 @@ + #pragma once + #include "BlockEntity.h" #include "../World.h" #include "../Piston.h" #include "../Player.h" -class cBlockDispenserHandler : public cBlockEntityHandler + + + + +class cBlockDispenserHandler : + public cBlockEntityHandler { public: cBlockDispenserHandler(BLOCKTYPE a_BlockType) -- cgit v1.2.3