From 67351d7d7bb3b70b60b5155e426ff4e0393b8dd8 Mon Sep 17 00:00:00 2001 From: tonibm19 Date: Sun, 11 Aug 2013 21:54:39 +0200 Subject: [PATCH] Now Endermans spawn in The End --- source/World.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/World.cpp b/source/World.cpp index 776bacff..3955b613 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -694,6 +694,13 @@ void cWorld::TickSpawnMobs(float a_Dt) 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 { switch (nightRand)