fix: deleted duplicate equals
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user