Fix items rendering too low in first person.

This commit is contained in:
RainWarrior 2016-03-10 04:19:54 +03:00
parent 98f606d4d2
commit cf93859095

View file

@ -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);
}
}