mirror of
https://github.com/GTNewHorizons/BloodArsenal.git
synced 2026-11-24 05:54:44 +00:00
Fix NPE with Portable Altar tooltip
This commit is contained in:
1 parent
5028eaa7e3
commit
91e16818d5
1 file changed
+2
@@ -35,6 +35,8 @@ public class PortableAltarBlock extends ItemBlock
|
||||
|
||||
public void addHiddenTooltip(ItemStack par1ItemStack, List par3List)
|
||||
{
|
||||
if (!par1ItemStack.hasTagCompound()) return;
|
||||
|
||||
String capacity = par1ItemStack.getTagCompound().getString("capacity");
|
||||
int alterTier = par1ItemStack.getTagCompound().getInteger("upgradeLevel");
|
||||
int currentEssence = par1ItemStack.getTagCompound().getInteger("currentEssence");
|
||||
|
||||
Reference in new issue
Block a user