Remove equals from PlayerKill.Victim

This commit is contained in:
Aurora Lahtela 2022-11-13 16:35:54 +02:00
parent a4a1001a8d
commit a9d89b88e7
1 changed files with 0 additions and 14 deletions

View File

@ -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 {