From 3252b3d4dc495d70eea7af422f6fe8c252656a36 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 22 Jun 2021 19:31:29 +0100 Subject: Remove spammy LOGD output --- src/Entities/Entity.cpp | 4 ++++ src/Entities/Player.cpp | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Entities') diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index a3388a18f..aada520f7 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -1687,9 +1687,11 @@ void cEntity::SetSwimState(cChunk & a_Chunk) BLOCKTYPE Block; if (!a_Chunk.UnboundedRelGetBlockType(x, y, z, Block)) { + /* LOGD("SetSwimState failure: RelX = %d, RelY = %d, RelZ = %d, Pos = %.02f, %.02f}", x, y, z, GetPosX(), GetPosZ() ); + */ continue; } @@ -1716,9 +1718,11 @@ void cEntity::SetSwimState(cChunk & a_Chunk) BLOCKTYPE BlockIn; if (!a_Chunk.UnboundedRelGetBlockType(RelX, HeadHeight, RelZ, BlockIn)) { + /* LOGD("SetSwimState failure: RelX = %d, RelY = %d, RelZ = %d, Pos = %.02f, %.02f}", RelX, HeadHeight, RelZ, GetPosX(), GetPosZ() ); + */ return; } m_IsHeadInWater = IsBlockWater(BlockIn); diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 12d937baf..cb548daba 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -3136,8 +3136,6 @@ void cPlayer::SpawnOn(cClientHandle & a_Client) return; } - LOGD("Spawing %s on %s", GetName().c_str(), a_Client.GetUsername().c_str()); - a_Client.SendPlayerSpawn(*this); a_Client.SendEntityHeadLook(*this); a_Client.SendEntityEquipment(*this, 0, m_Inventory.GetEquippedItem()); -- cgit v1.2.3