mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-08 06:48:40 +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);
|
||||
max = MobCategory::max_wolves_with_spawn_egg;
|
||||
break;
|
||||
case eTYPE_MUSHROOMCOW:
|
||||
count = countInstanceOf( eTYPE_MUSHROOMCOW, true);
|
||||
max = MobCategory::max_mushroomcows_with_spawn_egg;
|
||||
break;
|
||||
case eTYPE_SQUID:
|
||||
count = countInstanceOf( eTYPE_SQUID, true);
|
||||
max = MobCategory::max_squids_with_spawn_egg;
|
||||
|
|
@ -4779,6 +4783,10 @@ bool Level::canCreateMore(eINSTANCEOF type, ESPAWN_TYPE spawnType)
|
|||
count = countInstanceOf( eTYPE_WOLF, true);
|
||||
max = MobCategory::max_wolves_with_breeding;
|
||||
break;
|
||||
case eTYPE_MUSHROOMCOW:
|
||||
count = countInstanceOf( eTYPE_MUSHROOMCOW, true);
|
||||
max = MobCategory::max_mushroomcows_with_breeding;
|
||||
break;
|
||||
default:
|
||||
if((type & eTYPE_ANIMALS_SPAWN_LIMIT_CHECK) == eTYPE_ANIMALS_SPAWN_LIMIT_CHECK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue