Permalink
Browse files

Item reference adjustment.

  • Loading branch information...
Ri5ux committed Sep 26, 2018
1 parent 91a5d9f commit 25e842e08d761f3b6fabeb18591f750ab56ffa6a
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/org/avp/client/render/items/RenderItemM41A.java
@@ -1,6 +1,7 @@
package org.avp.client.render.items;
import org.avp.AliensVsPredator;
import org.avp.ItemHandler;
import org.avp.URLs;
import org.avp.client.model.items.ModelM41A;
import org.avp.item.ItemFirearm;
@@ -82,7 +83,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
OpenGL.color(1F, 1F, 1F, 1F);
}
if (Inventories.getAmountOfItemPlayerHas(AliensVsPredator.items().itemMotionTracker, (EntityPlayer) entity) > 0)
if (Inventories.getAmountOfItemPlayerHas(ItemHandler.itemMotionTracker, (EntityPlayer) entity) > 0)
{
OpenGL.translate(-50F, -20F, -50F);
OpenGL.rotate(-90F, 0F, 1F, 0F);

0 comments on commit 25e842e

Please sign in to comment.