summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorSTRWarrior <STRWarrior@users.noreply.github.com>2014-08-30 22:42:38 +0200
committerSTRWarrior <STRWarrior@users.noreply.github.com>2014-08-30 22:42:38 +0200
commit9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e (patch)
treea6ad2990fdaff104c3663a8655be26ad55dc1ccc /src/Entities
parentWSSAnvil: Removed leftover debugging code. (diff)
parentFixed style. (diff)
downloadcuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar.gz
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar.bz2
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar.lz
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar.xz
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.tar.zst
cuberite-9f321e29cf50c5cdd828fa1bbce1de2f0cbbc58e.zip
Diffstat (limited to 'src/Entities')
-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;