diff --git a/Minecraft.World/Level.cpp b/Minecraft.World/Level.cpp index 8f9962951..d205f5f5e 100644 --- a/Minecraft.World/Level.cpp +++ b/Minecraft.World/Level.cpp @@ -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) {