summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockPlanks.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockPlanks.h')
-rw-r--r--source/Blocks/BlockPlanks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockPlanks.h b/source/Blocks/BlockPlanks.h
index b30164741..f3b8dbfb6 100644
--- a/source/Blocks/BlockPlanks.h
+++ b/source/Blocks/BlockPlanks.h
@@ -24,7 +24,7 @@ public:
) override
{
a_BlockType = m_BlockType;
- NIBBLETYPE Meta = a_Player->GetEquippedItem().m_ItemDamage;
+ NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
a_BlockMeta = Meta;
return true;
}