mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-25 20:43:51 +00:00
Remove unnecessary changes
This commit is contained in:
parent
ae138caaf2
commit
e0edd377ce
7 changed files with 24 additions and 78 deletions
|
|
@ -4717,10 +4717,6 @@ 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;
|
||||
|
|
@ -4783,10 +4779,6 @@ 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…
Add table
Add a link
Reference in a new issue