summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_8.cpp4
-rw-r--r--src/Protocol/Protocol_1_9.cpp2
2 files changed, 3 insertions, 3 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;
}
}
diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp
index d7488a3a6..587b01f0d 100644
--- a/src/Protocol/Protocol_1_9.cpp
+++ b/src/Protocol/Protocol_1_9.cpp
@@ -938,7 +938,7 @@ void cProtocol_1_9_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;
}