Fix bug where dodge would check the wrong player

This commit is contained in:
TfT_02
2014-04-18 00:49:40 +02:00
parent 69a2a5cfff
commit 20092d55fd
2 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public final class CombatUtils {
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player);
AcrobaticsManager acrobaticsManager = mcMMOPlayer.getAcrobaticsManager();
if (acrobaticsManager.canDodge(damager)) {
if (acrobaticsManager.canDodge(target)) {
event.setDamage(acrobaticsManager.dodgeCheck(event.getDamage()));
}