Mekanism

Mekanism

111M Downloads

Typo in SynchronizedData.hashCode

emperor06 opened this issue ยท 4 comments

commented

I think there are some typos in the assignments in the computation of hashCode().

https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/common/multiblock/SynchronizedData.java#L41

commented

What makes you say that? Everything looks and compiles in order for me.

commented

Fixed!

commented

I may be wrong but shouldn't it be "code +=" instead of "code ="? It seems that the whole method returns 31 * volume.

commented

Ah, you're right.