@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if(o == null) return false;
        if (!(o instanceof Faction)) return false;

        Faction faction = (Faction) o;
        return this.name.equalsIgnoreCase(faction.getName());
    }