summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemDoor.h
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-09-26 19:45:03 +0200
committerMasy98 <masy@antheruscraft.de>2014-09-26 19:45:03 +0200
commit9106a8c29bb07e73e223336e49ee9f3f1366b01a (patch)
treeaab0a3c7be9a795a4558cce435db12cc545cf9fc /src/Items/ItemDoor.h
parentRe-added 1.8 blocks to the redstone simulator (diff)
downloadcuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar.gz
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar.bz2
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar.lz
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar.xz
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.tar.zst
cuberite-9106a8c29bb07e73e223336e49ee9f3f1366b01a.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemDoor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Items/ItemDoor.h b/src/Items/ItemDoor.h
index 402cef6c6..cd5baf44f 100644
--- a/src/Items/ItemDoor.h
+++ b/src/Items/ItemDoor.h
@@ -30,7 +30,8 @@ public:
BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta
) override
{
- switch (m_ItemType) {
+ switch (m_ItemType)
+ {
case E_ITEM_WOODEN_DOOR: a_BlockType = E_BLOCK_WOODEN_DOOR; break;
case E_ITEM_IRON_DOOR: a_BlockType = E_BLOCK_IRON_DOOR; break;
case E_ITEM_SPRUCE_DOOR: a_BlockType = E_BLOCK_SPRUCE_DOOR; break;