mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-10-26 14:33:50 +00:00
commit
d15c6a5f98
1 file changed
+1
-1
@@ -31,7 +31,7 @@ public class HeartCanister extends CraftingItem implements IHealthAccessory
|
||||
if (!world.isRemote && meta == 2)
|
||||
{
|
||||
TPlayerStats stats = TPlayerStats.get(player);
|
||||
if (stats != null)
|
||||
if (stats != null && stats.armor != null)
|
||||
{
|
||||
ArmorExtended armor = stats.armor;
|
||||
ItemStack slotStack = armor.getStackInSlot(6);
|
||||
|
||||
Reference in new issue
Block a user