1
0

Merge pull request #77 from tonibm19/patch-1

Now Endermans spawn in The End
This commit is contained in:
Tiger Wang 2013-08-11 14:38:31 -07:00
commit d23b8e0c7c

View File

@ -694,6 +694,13 @@ void cWorld::TickSpawnMobs(float a_Dt)
case 6: MobType = E_ENTITY_TYPE_ZOMBIE_PIGMAN; break; case 6: MobType = E_ENTITY_TYPE_ZOMBIE_PIGMAN; break;
} }
} }
else if (GetBiomeAt((int)SpawnPos.x, (int)SpawnPos.z) == biSky)
{
switch (nightRand)
{
case 5: MobType = E_ENTITY_TYPE_ENDERMAN; break;
}
}
else else
{ {
switch (nightRand) switch (nightRand)