From 6ad8553a3a9095bd5a8c25085fa0bb209d411048 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 Aug 2012 17:50:42 +0000 Subject: Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL) http://forum.mc-server.org/showthread.php?tid=528 git-svn-id: http://mc-server.googlecode.com/svn/trunk@793 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/Block.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blocks/Block.cpp') diff --git a/source/blocks/Block.cpp b/source/blocks/Block.cpp index 400727e80..2fa1ba718 100644 --- a/source/blocks/Block.cpp +++ b/source/blocks/Block.cpp @@ -38,6 +38,7 @@ #include "BlockMelon.h" #include "BlockIce.h" #include "BlockOre.h" +#include "BlockNote.h" bool cBlockHandler::m_HandlerInitialized = false; cBlockHandler *cBlockHandler::m_BlockHandler[256]; @@ -158,6 +159,8 @@ cBlockHandler *cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockID) return new cBlockStoneHandler(a_BlockID); case E_BLOCK_MELON: return new cBlockMelonHandler(a_BlockID); + case E_BLOCK_NOTE_BLOCK: + return new cBlockNoteHandler(a_BlockID); default: return new cBlockHandler(a_BlockID); break; -- cgit v1.2.3