Spells that do damage do not mark the caster as an aggressor.
Hypersonic opened this issue ยท 5 comments
Steps to reproduce:
- Spawn mobs or animals that react directly to aggression (Wolves, Pigmen)
- Hurt them with a spell (Flamethrower)
- They will take damage, but not aggress on the caster.
Other notes:
I'm not sure if this is something we can enforce a rule for this from the api, but we should set a precedent for spell makers in some way, at the least.
How about creature.setTarget(LivingEntity target)?
http://jd.bukkit.org/apidocs/org/bukkit/entity/Creature.html#setTarget()