mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Accidentally left this in
This commit is contained in:
parent
e0edd377ce
commit
205f54487a
|
|
@ -4717,6 +4717,10 @@ bool Level::canCreateMore(eINSTANCEOF type, ESPAWN_TYPE spawnType)
|
||||||
count = countInstanceOf( eTYPE_WOLF, true);
|
count = countInstanceOf( eTYPE_WOLF, true);
|
||||||
max = MobCategory::max_wolves_with_spawn_egg;
|
max = MobCategory::max_wolves_with_spawn_egg;
|
||||||
break;
|
break;
|
||||||
|
case eTYPE_MUSHROOMCOW:
|
||||||
|
count = countInstanceOf( eTYPE_MUSHROOMCOW, true);
|
||||||
|
max = MobCategory::max_mushroomcows_with_spawn_egg;
|
||||||
|
break;
|
||||||
case eTYPE_SQUID:
|
case eTYPE_SQUID:
|
||||||
count = countInstanceOf( eTYPE_SQUID, true);
|
count = countInstanceOf( eTYPE_SQUID, true);
|
||||||
max = MobCategory::max_squids_with_spawn_egg;
|
max = MobCategory::max_squids_with_spawn_egg;
|
||||||
|
|
@ -4779,6 +4783,10 @@ bool Level::canCreateMore(eINSTANCEOF type, ESPAWN_TYPE spawnType)
|
||||||
count = countInstanceOf( eTYPE_WOLF, true);
|
count = countInstanceOf( eTYPE_WOLF, true);
|
||||||
max = MobCategory::max_wolves_with_breeding;
|
max = MobCategory::max_wolves_with_breeding;
|
||||||
break;
|
break;
|
||||||
|
case eTYPE_MUSHROOMCOW:
|
||||||
|
count = countInstanceOf( eTYPE_MUSHROOMCOW, true);
|
||||||
|
max = MobCategory::max_mushroomcows_with_breeding;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if((type & eTYPE_ANIMALS_SPAWN_LIMIT_CHECK) == eTYPE_ANIMALS_SPAWN_LIMIT_CHECK)
|
if((type & eTYPE_ANIMALS_SPAWN_LIMIT_CHECK) == eTYPE_ANIMALS_SPAWN_LIMIT_CHECK)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue