diff --git a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemLavaPendant.java b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemLavaPendant.java index 49ba0d912..bcbb75804 100644 --- a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemLavaPendant.java +++ b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemLavaPendant.java @@ -27,16 +27,8 @@ public class ItemLavaPendant extends ItemBauble { @Override public void onWornTick(ItemStack stack, EntityLivingBase player) { - setImmunity(player, true); - } - - @Override - public void onUnequipped(ItemStack stack, EntityLivingBase player) { - setImmunity(player, false); - } - - private void setImmunity(Entity entity, boolean immune) { - ReflectionHelper.setPrivateValue(Entity.class, entity, immune, LibObfuscation.IS_IMMUNE_TO_FIRE); + if(player.isBurning()) + player.extinguish(); } @Override diff --git a/MODSRC/vazkii/botania/common/lib/LibObfuscation.java b/MODSRC/vazkii/botania/common/lib/LibObfuscation.java index 2b580a845..a2d37cbda 100644 --- a/MODSRC/vazkii/botania/common/lib/LibObfuscation.java +++ b/MODSRC/vazkii/botania/common/lib/LibObfuscation.java @@ -33,9 +33,6 @@ public final class LibObfuscation { public static final String[] TEXTURE_UPLOADED = new String[] { "textureUploaded", "field_110559_g", "i" }; public static final String[] BUFFERED_IMAGE = new String[] { "bufferedImage", "field_110560_d", "g" }; - // Entity - public static final String[] IS_IMMUNE_TO_FIRE = new String[] { "isImmuneToFire", "field_70178_ae", "ag" }; - // ItemReed public static final String[] REED_ITEM = new String[] { "field_150935_a", "a" }; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index 2d4125d24..aabc7419a 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -1333,7 +1333,7 @@ botania.page.icePendant1=Do you want to build a snowman? # -- PYROCLAST PENDANT botania.entry.lavaPendant=Pyroclast Pendant -botania.page.lavaPendant0=The &1Pyroclast Pendant&0 is a &4Bauble&0 that absorbs any heat, while it's worn, the wearer becomes completely imprevious to any &4Fire&0 or &4Lava&0 damage. +botania.page.lavaPendant0=The &1Pyroclast Pendant&0 is a &4Bauble&0 that absorbs low heat, while it's worn, if the wearer is caught on fire and is not directly standing on &1Fire&0, &1Lava&0 or anything else that can induce burning, they'll be extinguished. botania.page.lavaPendant1=Hanako could have used one of these # -- GOLDEN LAUREL CROWN