Fix baritoneHash calculation
This commit is contained in:
parent
4bca6cc1a5
commit
bb2f4da6b6
@ -41,7 +41,7 @@ public abstract class MixinItemStack implements IItemStack {
|
||||
private int baritoneHash;
|
||||
|
||||
private void recalculateHash() {
|
||||
baritoneHash = item == null ? -1 : item.hashCode() * itemDamage;
|
||||
baritoneHash = item == null ? -1 : item.hashCode() + itemDamage;
|
||||
}
|
||||
|
||||
@Inject(method = "<init>*", at = @At("RETURN"))
|
||||
|
Loading…
Reference in New Issue
Block a user