From 63b63c5d844e8702fce2ae0181ee4397b8954d92 Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Sat, 7 May 2022 01:26:13 +0200 Subject: Added check for unexported but documented API (#5418) Also fixed the errors --- src/Entities/HangingEntity.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Entities') 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) -- cgit v1.2.3