diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2022-05-07 01:26:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 01:26:13 +0200 |
commit | 63b63c5d844e8702fce2ae0181ee4397b8954d92 (patch) | |
tree | 53bcb25743271beb6b5e51b2346847ed50c6f925 /src/Entities/HangingEntity.h | |
parent | Implement ranged attack for snow golems. Fix failed assertion (#5417) (diff) | |
download | cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar.gz cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar.bz2 cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar.lz cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar.xz cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.tar.zst cuberite-63b63c5d844e8702fce2ae0181ee4397b8954d92.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/HangingEntity.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Entities/HangingEntity.h b/src/Entities/HangingEntity.h index dfed17dc5..a0e63d794 100644 --- a/src/Entities/HangingEntity.h +++ b/src/Entities/HangingEntity.h @@ -31,10 +31,7 @@ public: // tolua_export static bool IsValidSupportBlock(BLOCKTYPE a_BlockType); // tolua_export /** Set the direction in which the entity is facing. */ - void SetFacing(eBlockFace a_Facing) - { - m_Facing = cHangingEntity::BlockFaceToProtocolFace(a_Facing); - } + void SetFacing(eBlockFace a_Facing) { m_Facing = cHangingEntity::BlockFaceToProtocolFace(a_Facing); } // tolua_export /** Set the direction in which the entity is facing. */ void SetProtocolFacing(Byte a_Facing) |