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