diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-01-02 17:37:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 17:37:57 +0100 |
commit | efeedcbd4dc2b115ac0737fc397bde64d6b9656a (patch) | |
tree | 9c93123f21a8edb7bd43004701a788d1e77dfbdc /src/Protocol/Protocol_1_8.cpp | |
parent | Fixed diagonal redstone powering (#5363) (diff) | |
download | cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar.gz cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar.bz2 cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar.lz cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar.xz cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.tar.zst cuberite-efeedcbd4dc2b115ac0737fc397bde64d6b9656a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp index 755bcb969..012821c61 100644 --- a/src/Protocol/Protocol_1_8.cpp +++ b/src/Protocol/Protocol_1_8.cpp @@ -2455,7 +2455,7 @@ void cProtocol_1_8_0::HandlePacketEntityAction(cByteBuffer & a_ByteBuffer) if (PlayerID != m_Client->GetPlayer()->GetUniqueID()) { - m_Client->Kick("Mind your own business! Hacked client?"); + LOGD("Player \"%s\" attempted to action another entity - hacked client?", m_Client->GetUsername().c_str()); return; } @@ -2840,7 +2840,7 @@ void cProtocol_1_8_0::HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, con } default: { - m_Client->Kick("Unknown command block edit type - hacked client?"); + LOGD("Player \"%s\" sent an invalid command block edit type - hacked client?", m_Client->GetUsername().c_str()); return; } } |