148149150151152153154155156157158
// Utility.Debug(townName + " spawner triggered"); // Choose citizen type to spawn (default wanderer or wife) EntityCitizen newGuy; if(isLessFemales()){ newGuy = new EntityWife(worldObj); } else{ newGuy = new EntityCitizen(worldObj); }
579580581582583584585586587588589
if(employee.isMale){ employee.setNewJob(new EntityCitizen(employee.worldObj)); } else{ employee.setNewJob(new EntityWife(employee.worldObj)); } employee = null; } }