SpoutDev/Spout — comment on commit f7207cc2e053e68e53f27fbd0711718c48143a8c
File: src/main/java/org/getspout/server/player/SpoutPlayer.java line 132
By Majiir:

As funny as that mental image is... just what's going on with this implementation? The `hashcode` field? Isn't it easier and better to do:

```java
@Override
public boolean equals(Object obj) {
if (obj instanceof Player) {
return ((Player)obj).getName().equals(getName());
}
return false;
}

@Override
public int hashCode() {
return getName().hashCode();
}
```