summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockQuartz.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-02-03 20:34:05 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-02-03 20:34:05 +0100
commit347488a9a23e43b59062a8f161bcc7f88628db56 (patch)
treee0df62802a96ac92349e30710630e6ed955511ba /src/Blocks/BlockQuartz.h
parentRenamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks. (diff)
downloadcuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar.gz
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar.bz2
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar.lz
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar.xz
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.tar.zst
cuberite-347488a9a23e43b59062a8f161bcc7f88628db56.zip
Diffstat (limited to 'src/Blocks/BlockQuartz.h')
-rw-r--r--src/Blocks/BlockQuartz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockQuartz.h b/src/Blocks/BlockQuartz.h
index e5306ff6a..41f4e15a7 100644
--- a/src/Blocks/BlockQuartz.h
+++ b/src/Blocks/BlockQuartz.h
@@ -27,6 +27,7 @@ public:
NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
if (Meta != 0x2) // Check if the block is a pillar block.
{
+ a_BlockMeta = Meta;
return true;
}
@@ -59,7 +60,7 @@ public:
default:
{
ASSERT(!"Unhandled block face!");
- return a_QuartzMeta; // No idea, give a special meta (all sides the sa)
+ return a_QuartzMeta; // No idea, give a special meta (all sides the same)
}
}
}