Fire Orb will remove fire from player when in lava

This commit is contained in:
allstar69 2013-06-22 10:18:42 -07:00
commit 506a32376a

View file

@ -41,6 +41,7 @@ public class TickHandler implements IScheduledTickHandler
if (inventory.hasItem(ItemHandler$1.fireOrb.itemID)){
if (player.isBurning())
player.addPotionEffect(new PotionEffect(Potion.fireResistance.getId(), 20, 0));
player.extinguish();
}
}