Fix items rendering too low in first person.
This commit is contained in:
parent
98f606d4d2
commit
cf93859095
1 changed files with 2 additions and 1 deletions
|
@ -608,6 +608,7 @@ public class ForgeHooksClient
|
|||
}
|
||||
|
||||
private static int slotMainHand = 0;
|
||||
// FIXME
|
||||
public static boolean shouldCauseReequipAnimation(ItemStack from, ItemStack to, int slot)
|
||||
{
|
||||
if(!Objects.equal(from, to) || from == null)
|
||||
|
@ -620,6 +621,6 @@ public class ForgeHooksClient
|
|||
changed = slot != slotMainHand;
|
||||
slotMainHand = slot;
|
||||
}
|
||||
return from.getItem().shouldCauseReequipAnimation(from, to, changed);
|
||||
return !from.getItem().shouldCauseReequipAnimation(from, to, changed);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue