Changed equals for GroupObject to use instanceof

This commit is contained in:
Skyler Lehan
2016-05-25 22:33:18 -04:00
parent 4aa7c881ae
commit 82336c90f3
+1 -1
View File
@@ -226,7 +226,7 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
if (o == null || !(o instanceof GroupObject))
return false;
GroupMember that = (GroupMember) o;