Fire Orb will remove fire from player when in lava
This commit is contained in:
parent
9dc2b0aaf2
commit
506a32376a
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue