summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-17 11:44:13 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-17 11:44:13 +0100
commit67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce (patch)
tree6eb96f0cd0f8f448139303fa0abd53ffd285016e /src/Mobs
parentMerge pull request #2881 from LogicParrot/knockback (diff)
parentNo second spawn broadcast necessary (diff)
downloadcuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar.gz
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar.bz2
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar.lz
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar.xz
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.tar.zst
cuberite-67cd1b3b41e5c9d52d2dd1ca186f8790f4bcc4ce.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Blaze.cpp1
-rw-r--r--src/Mobs/Ghast.cpp1
-rw-r--r--src/Mobs/Skeleton.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp
index a772d830c..bd3b3f776 100644
--- a/src/Mobs/Blaze.cpp
+++ b/src/Mobs/Blaze.cpp
@@ -50,7 +50,6 @@ bool cBlaze::Attack(std::chrono::milliseconds a_Dt)
FireCharge = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*FireCharge);
ResetAttackCooldown();
// ToDo: Shoot 3 fireballs instead of 1.
return true;
diff --git a/src/Mobs/Ghast.cpp b/src/Mobs/Ghast.cpp
index 9ac16866e..61813d0fe 100644
--- a/src/Mobs/Ghast.cpp
+++ b/src/Mobs/Ghast.cpp
@@ -50,7 +50,6 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt)
GhastBall = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*GhastBall);
ResetAttackCooldown();
return true;
}
diff --git a/src/Mobs/Skeleton.cpp b/src/Mobs/Skeleton.cpp
index 5032ec5b0..adad543d2 100644
--- a/src/Mobs/Skeleton.cpp
+++ b/src/Mobs/Skeleton.cpp
@@ -68,7 +68,6 @@ bool cSkeleton::Attack(std::chrono::milliseconds a_Dt)
Arrow = nullptr;
return false;
}
- m_World->BroadcastSpawnEntity(*Arrow);
ResetAttackCooldown();
return true;