Fixed a big issue where the hashcode of a CreatureObject would change depending on posture

This commit is contained in:
Mads Boddum
2016-08-06 16:49:06 +02:00
parent 1181d64d1a
commit 69eede133a
@@ -781,7 +781,7 @@ public class CreatureObject extends TangibleObject {
@Override
public int hashCode() {
return (super.hashCode() * 7 + posture.getId()) * 13 + race.toString().hashCode();
return super.hashCode() * 20 + race.toString().hashCode();
}
public void sendBaselines(Player target) {