mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user