Added in the Demon Spawn achievement
This commit is contained in:
parent
f20d99628b
commit
acfc78187f
4 changed files with 15 additions and 1 deletions
|
@ -812,6 +812,12 @@ public class AlchemicalWizardryEventHooks
|
|||
{
|
||||
EntityLivingBase entityLiving = event.entityLiving;
|
||||
|
||||
if (entityLiving instanceof IDemon && event.source.getEntity() instanceof EntityPlayer)
|
||||
{
|
||||
EntityPlayer player = (EntityPlayer) event.source.getEntity();
|
||||
|
||||
player.addStat(ModAchievements.demonSpawn, 1);
|
||||
}
|
||||
if (entityLiving instanceof IHoardDemon && event.source.getEntity() instanceof EntityPlayer)
|
||||
{
|
||||
EntityPlayer player = (EntityPlayer) event.source.getEntity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue