More appropriately name fields in the CustomDamageEvent getDamagerPlayer method in order to be more understandable
This commit is contained in:
parent
570355e41b
commit
76d5d3e896
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user