diff options
author | Alexander Harkness <me@bearbin.net> | 2014-09-22 21:45:22 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-09-22 21:45:22 +0200 |
commit | 5f823fd18dbfc097b45957d05aeb4d04bf5099fd (patch) | |
tree | 8fa683aca43dfabd59c7c90e06c2d1f1a4549bed /src/Entities/Entity.cpp | |
parent | Merge pull request #1446 from cedeel/patch-1 (diff) | |
parent | Changed metadata reading again. (diff) | |
download | cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.gz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.bz2 cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.lz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.xz cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.tar.zst cuberite-5f823fd18dbfc097b45957d05aeb4d04bf5099fd.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 996f2fff3..c8ebc4314 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; } |