summaryrefslogtreecommitdiffstats
path: root/src/Entities/ItemFrame.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-29 14:44:01 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-29 14:44:01 +0200
commit114b14faad854661040a3a65c027d6b3fa818f56 (patch)
tree160f10220998974efe41ce18aa191405c1030e37 /src/Entities/ItemFrame.cpp
parentImproved command block security (diff)
downloadcuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar.gz
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar.bz2
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar.lz
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar.xz
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.tar.zst
cuberite-114b14faad854661040a3a65c027d6b3fa818f56.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/ItemFrame.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Entities/ItemFrame.cpp b/src/Entities/ItemFrame.cpp
index f0b0c8c65..0bc10ec60 100644
--- a/src/Entities/ItemFrame.cpp
+++ b/src/Entities/ItemFrame.cpp
@@ -55,7 +55,6 @@ void cItemFrame::KilledBy(TakeDamageInfo & a_TDI)
{
if (m_Item.IsEmpty())
{
- SetHealth(0);
super::KilledBy(a_TDI);
Destroy();
return;