summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-28 21:44:34 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-28 21:44:34 +0200
commit61cb08b54698e9b70f629858a6a9c5b389db8b3e (patch)
tree6d43e221dd0e883c653fc22a3a27628f64b3d294 /src/Blocks/BlockHandler.cpp
parentAdded more block exceptions to torches (diff)
downloadcuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar.gz
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar.bz2
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar.lz
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar.xz
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.tar.zst
cuberite-61cb08b54698e9b70f629858a6a9c5b389db8b3e.zip
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r--src/Blocks/BlockHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 405c9bf43..3ddb7531d 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -65,6 +65,8 @@
#include "BlockRedstoneRepeater.h"
#include "BlockRedstoneTorch.h"
#include "BlockTNT.h"
+#include "BlockTripwire.h"
+#include "BlockTripwireHook.h"
#include "BlockSand.h"
#include "BlockSapling.h"
#include "BlockSideways.h"
@@ -291,6 +293,8 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_TORCH: return new cBlockTorchHandler (a_BlockType);
case E_BLOCK_TRAPDOOR: return new cBlockTrapdoorHandler (a_BlockType);
case E_BLOCK_TNT: return new cBlockTNTHandler (a_BlockType);
+ case E_BLOCK_TRIPWIRE: return new cBlockTripwireHandler (a_BlockType);
+ case E_BLOCK_TRIPWIRE_HOOK: return new cBlockTripwireHookHandler (a_BlockType);
case E_BLOCK_VINES: return new cBlockVineHandler (a_BlockType);
case E_BLOCK_WALLSIGN: return new cBlockSignHandler (a_BlockType); // TODO: This needs a special handler
case E_BLOCK_WATER: return new cBlockFluidHandler (a_BlockType);