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 50d8e38e0..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->GetRotation());
+ a_BlockMeta = RotationToMetaData(a_Player->GetYaw());
return true;
}