mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 17:18:40 +01:00
Remove equals from PlayerKill.Victim
This commit is contained in:
parent
a4a1001a8d
commit
a9d89b88e7
@ -129,20 +129,6 @@ public class PlayerKill implements DateHolder {
|
||||
public long getRegisterDate() {
|
||||
return registerDate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
if (!super.equals(o)) return false;
|
||||
Victim victim = (Victim) o;
|
||||
return getRegisterDate() == victim.getRegisterDate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(super.hashCode(), getRegisterDate());
|
||||
}
|
||||
}
|
||||
|
||||
public static class Killer extends PlayerIdentifier {
|
||||
|
Loading…
Reference in New Issue
Block a user