diff options
author | madmaxoft <github@xoft.cz> | 2014-01-17 11:11:17 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-17 11:11:17 +0100 |
commit | aec5200893e09f90cc43b61088b30364800b51c6 (patch) | |
tree | a5f60ae183abbd1239f5e6bef84c7f2682de9f60 /src/Items/ItemBed.h | |
parent | Merge remote-tracking branch 'origin/customnames' (diff) | |
download | cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.gz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.bz2 cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.lz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.xz cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.zst cuberite-aec5200893e09f90cc43b61088b30364800b51c6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemBed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemBed.h b/src/Items/ItemBed.h index 18eec9421..9b7c8bff8 100644 --- a/src/Items/ItemBed.h +++ b/src/Items/ItemBed.h @@ -37,7 +37,7 @@ public: return false; } - a_BlockMeta = cBlockBedHandler::RotationToMetaData(a_Player->GetRot().x); + a_BlockMeta = cBlockBedHandler::RotationToMetaData(a_Player->GetYaw()); // Check if there is empty space for the foot section: Vector3i Direction = cBlockBedHandler::MetaDataToDirection(a_BlockMeta); |