Stop firing LivingSetAttackTargetEvent for setRevengeTarget (#5217)

This commit is contained in:
Vincent Lee authored and mezz committed 2018-11-23 15:22:08 -08:00
1 parent 84d322da34
commit 16f4903285
2 files changed
+28 -37

No files matched your search

@@ -28,8 +28,7 @@ import net.minecraftforge.fml.common.eventhandler.Cancelable;
/**
* LivingSetAttackTargetEvent is fired when an Entity sets a target to attack.<br>
* This event is fired whenever an Entity sets a target to attack in
* {@link EntityLiving#setAttackTarget(EntityLivingBase)} and
* {@link EntityLivingBase#setRevengeTarget(EntityLivingBase)}.<br>
* {@link EntityLiving#setAttackTarget(EntityLivingBase)}.<br>
* <br>
* This event is fired via the {@link ForgeHooks#onLivingSetAttackTarget(EntityLivingBase, EntityLivingBase)}.<br>
* <br>