From 5042944d9a7a78adc283cd53089eea078c4153ce Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 2 Sep 2012 18:15:50 +0000 Subject: [PATCH] Fixed Bug #241: Torches should drop correct now git-svn-id: http://mc-server.googlecode.com/svn/trunk@824 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/BlockTorch.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/blocks/BlockTorch.h b/source/blocks/BlockTorch.h index dfa503943..9a124189f 100644 --- a/source/blocks/BlockTorch.h +++ b/source/blocks/BlockTorch.h @@ -149,6 +149,11 @@ public: char Dir = cTorch::MetaDataToDirection(a_World->GetBlockMeta( a_X, a_Y, a_Z)); return TorchCanBePlacedAt(a_World, a_X, a_Y, a_Z, Dir); } + + virtual NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override + { + return 0; + } };