Finished the Dulled Blade downgrade
This commit is contained in:
parent
8d2ea249ac
commit
1a510c694c
4 changed files with 83 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue