summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockEnderchest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockEnderchest.h')
-rw-r--r--src/Blocks/BlockEnderchest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockEnderchest.h b/src/Blocks/BlockEnderchest.h
index a115b1ee6..b648248d0 100644
--- a/src/Blocks/BlockEnderchest.h
+++ b/src/Blocks/BlockEnderchest.h
@@ -30,7 +30,7 @@ public:
) override
{
a_BlockType = m_BlockType;
- a_BlockMeta = RotationToMetaData(a_Player->GetRot().x);
+ a_BlockMeta = RotationToMetaData(a_Player->GetYaw());
return true;
}