summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-16 20:59:57 +0200
committerMattes D <github@xoft.cz>2015-04-16 20:59:57 +0200
commitffe7dae4fc4ee9d622696f221dcfa4def107646d (patch)
tree8fe28f4a22972d151db339126739395960d1f670 /src/Blocks
parentMerge pull request #1858 from mc-server/BucketPluginCalls (diff)
downloadcuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar.gz
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar.bz2
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar.lz
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar.xz
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.tar.zst
cuberite-ffe7dae4fc4ee9d622696f221dcfa4def107646d.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 2de4a3e4c..6fff4c18f 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -353,7 +353,7 @@ bool cBlockHandler::GetPlacementBlockTypeMeta(
{
// By default, all blocks can be placed and the meta is copied over from the item's damage value:
a_BlockType = m_BlockType;
- a_BlockMeta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage & 0x0f);
+ a_BlockMeta = static_cast<NIBBLETYPE>(a_Player->GetEquippedItem().m_ItemDamage & 0x0f);
return true;
}