-Misc clean up/refactor.
-Removed unnecessary Map.containsKey calls
-Using java 8 methods where possible to avoid external checks.
Source L2J HighFive branch:
9d0fee8537
This commit is contained in:
@@ -28,10 +28,9 @@ public final class DamageDoneInfo
|
||||
private final L2PcInstance _attacker;
|
||||
private int _damage = 0;
|
||||
|
||||
public DamageDoneInfo(L2PcInstance attacker, int damage)
|
||||
public DamageDoneInfo(L2PcInstance attacker)
|
||||
{
|
||||
_attacker = attacker;
|
||||
_damage = damage;
|
||||
}
|
||||
|
||||
public L2PcInstance getAttacker()
|
||||
|
Reference in New Issue
Block a user