summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-20 13:33:23 +0200
committermadmaxoft <github@xoft.cz>2013-10-20 13:33:23 +0200
commitd16d0a7ab75ca2b63de55a3e68ea58075c42277d (patch)
treecffe915f423afabb976bee8d3a06fc2b950512ad /source/World.cpp
parentMoved all MobTypesManager functions to cMonster. (diff)
downloadcuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar.gz
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar.bz2
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar.lz
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar.xz
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.tar.zst
cuberite-d16d0a7ab75ca2b63de55a3e68ea58075c42277d.zip
Diffstat (limited to 'source/World.cpp')
-rw-r--r--source/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 2943209b7..901337879 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -757,7 +757,7 @@ void cWorld::TickMobs(float a_Dt)
if (m_bAnimals)
{
cMobSpawner Spawner(*itr,m_AllowedMobs);
- if (Spawner.CanSpawnSomething())
+ if (Spawner.CanSpawnAnything())
{
m_ChunkMap->SpawnMobs(Spawner);
// do the spawn