diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-09 03:02:25 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-09 03:02:25 +0200 |
commit | f94df06b6601f9dcecd383f5d093d225f41d1c65 (patch) | |
tree | 891720327a4971886e909e19f04bf1734addee8c /src/Entities/Entity.cpp | |
parent | Merge branch 'master' into 1.8-Protocol (diff) | |
download | cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar.gz cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar.bz2 cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar.lz cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar.xz cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.tar.zst cuberite-f94df06b6601f9dcecd383f5d093d225f41d1c65.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r-- | src/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 9bcdcffeb..fba688847 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -135,7 +135,7 @@ const char * cEntity::GetParentClass(void) const bool cEntity::Initialize(cWorld & a_World) { - if (cPluginManager::Get()->CallHookSpawningEntity(a_World, *this)) + if (cPluginManager::Get()->CallHookSpawningEntity(a_World, *this) && !IsPlayer()) { return false; } |