mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Fixed hash code assignment
This commit is contained in:
1 parent
f39d6d097d
commit
f89f3c1aaa
1 file changed
+5
-5
@@ -41,11 +41,11 @@ public abstract class SynchronizedData<T extends SynchronizedData<T>>
|
||||
public int hashCode()
|
||||
{
|
||||
int code = 1;
|
||||
code = 31 * locations.hashCode();
|
||||
code = 31 * volLength;
|
||||
code = 31 * volWidth;
|
||||
code = 31 * volHeight;
|
||||
code = 31 * volume;
|
||||
code = 31 * code + locations.hashCode();
|
||||
code = 31 * code + volLength;
|
||||
code = 31 * code + volWidth;
|
||||
code = 31 * code + volHeight;
|
||||
code = 31 * code + volume;
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user