mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Fixed a big issue where the hashcode of a CreatureObject would change depending on posture
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user