summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 17:03:56 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 17:03:56 +0100
commitb65a22fc1f0e5e95be234d6d94388091f74704a9 (patch)
tree0227c64f4eb43a15961d55f712099a643642864b /source/ClientHandle.cpp
parentRemoved log message when spawning players on a client. (diff)
downloadcuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.gz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.bz2
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.lz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.xz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.zst
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.zip
Diffstat (limited to '')
-rw-r--r--source/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 5967421df..c25a482ca 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -908,7 +908,7 @@ void cClientHandle::HandleUseEntity(int a_TargetEntityID, bool a_IsLeftClick)
{
virtual bool Item(cEntity * a_Entity) override
{
- if (a_Entity->GetWorld()->IsPVPEnabled() == false)
+ if (!a_Entity->GetWorld()->IsPVPEnabled())
{
// PVP is disabled
if (a_Entity->IsA("cPlayer") && Instigator->IsA("cPlayer"))