diff options
Diffstat (limited to 'src/Blocks/BlockPlanks.h')
-rw-r--r-- | src/Blocks/BlockPlanks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPlanks.h b/src/Blocks/BlockPlanks.h index e913db5f6..52e8c34dc 100644 --- a/src/Blocks/BlockPlanks.h +++ b/src/Blocks/BlockPlanks.h @@ -23,7 +23,7 @@ public: ) override { a_BlockType = m_BlockType; - a_BlockMeta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage); + a_BlockMeta = static_cast<NIBBLETYPE>(a_Player->GetEquippedItem().m_ItemDamage); return true; } |