Sacrificial dagger kills bosses
TeamDman opened this issue ยท 0 comments
Issue Description:
No checks to make sure the sacrifical dagger target isnt a boss.
What happens:
Bosses die to the sacrifical dagger
What you expected to happen:
Bosses should not be able to be sacrificed to the dagger, alternatively give them more than 500lp
Steps to reproduce:
- place alter beside wither
- kill wither with sacrifical dagger
- ez nether star?
...
Affected Versions (Do not use "latest"):
- BloodMagic: BloodMagic:1.9.4-2.0.4-58
- Minecraft: 1.10.2
- Forge: 1.10.2-12.18.1.2088
1.7.10 implementation was approx. :
if (entity instanceof IHoardDemon || entity instanceof EntityWither || entity instanceof EntityDragon || entity instanceof EntityPlayer || entity instanceof IBossDisplayData || entity.isDead || entity.getHealth() < 0.5f) return;