summaryrefslogtreecommitdiffstats
path: root/src/Mobs/ZombiePigman.cpp
diff options
context:
space:
mode:
authorRorkh <rorkh@internet.ru>2021-09-18 11:10:31 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-10-02 22:18:18 +0200
commit4c5d9d38f45ae7c18a3e9799152305757a8a1d2a (patch)
tree6c369d0901427be8ab92bef9cd229e60a21486a0 /src/Mobs/ZombiePigman.cpp
parentSnipe skeleton achievment (diff)
downloadcuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.gz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.bz2
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.lz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.xz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.zst
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.zip
Diffstat (limited to 'src/Mobs/ZombiePigman.cpp')
-rw-r--r--src/Mobs/ZombiePigman.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Mobs/ZombiePigman.cpp b/src/Mobs/ZombiePigman.cpp
index 60d5ab9f1..755f585ab 100644
--- a/src/Mobs/ZombiePigman.cpp
+++ b/src/Mobs/ZombiePigman.cpp
@@ -38,16 +38,6 @@ void cZombiePigman::GetDrops(cItems & a_Drops, cEntity * a_Killer)
-void cZombiePigman::SpawnOn(cClientHandle & a_ClientHandle)
-{
- Super::SpawnOn(a_ClientHandle);
- a_ClientHandle.SendEntityEquipment(*this, 0, cItem(E_ITEM_GOLD_SWORD));
-}
-
-
-
-
-
void cZombiePigman::KilledBy(TakeDamageInfo & a_TDI)
{
Super::KilledBy(a_TDI);
@@ -62,3 +52,9 @@ void cZombiePigman::KilledBy(TakeDamageInfo & a_TDI)
+
+void cZombiePigman::SpawnOn(cClientHandle & a_ClientHandle)
+{
+ Super::SpawnOn(a_ClientHandle);
+ a_ClientHandle.SendEntityEquipment(*this, 0, cItem(E_ITEM_GOLD_SWORD));
+}