Finished the Dulled Blade downgrade

This commit is contained in:
WayofTime 2016-09-27 21:10:09 -04:00
parent 8d2ea249ac
commit 1a510c694c
4 changed files with 83 additions and 2 deletions

View file

@ -61,7 +61,7 @@ public class LivingArmourHandler
}
}
if (event.getItemStack().getItemUseAction() == EnumAction.DRINK)
if (event.getItemStack() != null && event.getItemStack().getItemUseAction() == EnumAction.DRINK)
{
//TODO: See if the item is a splash potion? Those should be usable.
LivingArmourUpgrade upgrade = ItemLivingArmour.getUpgrade(Constants.Mod.MODID + ".upgrade.quenched", chestStack);