Skip to content

Commit

Permalink
Update LivingSetAttackTargetEvent.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb authored Oct 26, 2024
1 parent 0283639 commit 4ab33a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public LivingSetAttackTargetEvent(EntityLivingBase entity, EntityLivingBase targ
**/
public EntityLivingBase getTarget()
{
return isRedirected ? redirectedTarget : originalTarget;
return isModified ? redirectedTarget : originalTarget;
}

/**
Expand Down

0 comments on commit 4ab33a2

Please sign in to comment.