mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix items rendering too low in first person.
This commit is contained in:
1 parent
98f606d4d2
commit
cf93859095
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user