Fixed the Mana Blaster with a Lens Clip showing that you have infinite mana lenses instead of showing you the name of the lens.

This commit is contained in:
Vasco Lavos committed 2015-09-06 00:31:54 +01:00
1 parent c9025998ce
commit d27cf3f056
1 file changed
+1 -1
@@ -85,7 +85,7 @@ public class ItemManaGun extends ItemMod implements IManaUsingItem {
if(par2World.isRemote)
par3EntityPlayer.swingItem();
ItemStack lens = getLens(par1ItemStack);
ItemsRemainingRenderHandler.set(lens, -1);
ItemsRemainingRenderHandler.set(lens, -2);
par1ItemStack.setItemDamage(effCd);
} else if(par1ItemStack.getItemDamage() == 0) {
EntityManaBurst burst = getBurst(par3EntityPlayer, par1ItemStack, true);