mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Stop firing LivingSetAttackTargetEvent for setRevengeTarget (#5217)
This commit is contained in:
1 parent
84d322da34
commit
16f4903285
2 files changed
+28
-37
No files matched your search
+1
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user