Sided TIlehash should make order matter.
This commit is contained in:
parent
dc0c015a97
commit
0f781cebba
1 changed files with 2 additions and 1 deletions
|
@ -1423,7 +1423,8 @@ public class Platform
|
|||
int offset = 0;
|
||||
for (Integer Side : ((ISidedInventory) target).getAccessibleSlotsFromSide( dir.ordinal() ))
|
||||
{
|
||||
hash ^= Side << (offset++ % 20);
|
||||
int c = (Side << (offset++ % 8)) ^ (1 << dir.ordinal());
|
||||
hash = c + (hash << 6) + (hash << 16) - hash;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue