diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-02 13:47:17 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-02 13:47:17 +0100 |
commit | b89419f603126b9c8e01c607912b2976ba66ffda (patch) | |
tree | 20df68bbf68a91fdb3171470ae45160b4330cbbe /src/Entities/Entity.cpp | |
parent | Again improved LogReplaceLine (diff) | |
download | cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar.gz cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar.bz2 cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar.lz cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar.xz cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.tar.zst cuberite-b89419f603126b9c8e01c607912b2976ba66ffda.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r-- | src/Entities/Entity.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index e22f689d9..08780ca8b 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -397,6 +397,7 @@ int cEntity::GetArmorCoverAgainst(const cEntity * a_Attacker, eDamageType a_Dama case dtPotionOfHarming: case dtFalling: case dtLightning: + case dtPlugin: { return 0; } @@ -473,7 +474,7 @@ void cEntity::KilledBy(cEntity * a_Killer) return; } - // Drop loot: + // Drop loot: cItems Drops; GetDrops(Drops, a_Killer); m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ()); |