diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-01-29 21:31:15 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-01-29 21:31:15 +0100 |
commit | b35b8d1749335527a7cebea9d1034ecdd83237a5 (patch) | |
tree | 1129ab2aa2b0a86f328183fde6e9949629656b41 /src/Items/ItemBed.h | |
parent | Added line endings for *nix (diff) | |
parent | Merge pull request #599 from tonibm19/master (diff) | |
download | cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.gz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.bz2 cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.lz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.xz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.zst cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.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 ab4182eea..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->GetRotation()); + a_BlockMeta = cBlockBedHandler::RotationToMetaData(a_Player->GetYaw()); // Check if there is empty space for the foot section: Vector3i Direction = cBlockBedHandler::MetaDataToDirection(a_BlockMeta); |