Clear inventory crash fix
This commit is contained in:
parent
b176f6f240
commit
72a11226f5
|
@ -144,7 +144,7 @@ public class FirstPersonRenderer
|
|||
return;
|
||||
}
|
||||
|
||||
if (accessories.stacks[6] != null)
|
||||
if (accessories.stacks[6] != null && accessories.stacks[6].getItem() != null)
|
||||
{
|
||||
GlStateManager.pushMatrix();
|
||||
GlStateManager.enableDepth();
|
||||
|
|
Loading…
Reference in a new issue