More appropriately name fields in the CustomDamageEvent getDamagerPlayer method in order to be more understandable

This commit is contained in:
AlexTheCoder 2017-04-15 16:51:00 -04:00
parent 570355e41b
commit 76d5d3e896

View File

@ -157,9 +157,9 @@ public class CustomDamageEvent extends Event implements Cancellable
return null;
}
public Player GetDamagerPlayer(boolean ranged)
public Player GetDamagerPlayer(boolean passthroughRanged)
{
if (ranged)
if (passthroughRanged)
return _damagerPlayer;
else if (_projectile == null)