fix: deleted duplicate equals

This commit is contained in:
2021-05-02 00:05:55 +02:00
parent 82fa54bd2d
commit abd70a0d05
2 changed files with 77 additions and 11 deletions

View File

@ -29,17 +29,6 @@ public class EntityID {
return type == other;
}
@Override
public boolean equals(Object obj){
if(this == obj) return true;
if(!(obj instanceof EntityID)) return false;
EntityID other = (EntityID)obj;
return this.id == other.id && this.type == other.type;
}
/**
* Clones this entity id.
* @return The cloned {@link EntityID}