Fixed fire particle when fire orb is held
This commit is contained in:
parent
7e8666eea6
commit
8b3531311a
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ public class TickHandler implements IScheduledTickHandler
|
||||||
|
|
||||||
if (itemstack != null && itemstack.itemID == ItemHandler$1.fireOrb.itemID && player.isBurning()){
|
if (itemstack != null && itemstack.itemID == ItemHandler$1.fireOrb.itemID && player.isBurning()){
|
||||||
player.addPotionEffect(new PotionEffect(Potion.fireResistance.getId(), 20, 0));
|
player.addPotionEffect(new PotionEffect(Potion.fireResistance.getId(), 20, 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (itemstack != null && itemstack.itemID == ItemHandler$1.fireOrb.itemID){
|
||||||
MysticWorld.proxy.fireFX(world, (player.posX - 0.5D) + rand.nextDouble(), player.posY, (player.posZ - 0.5D) + rand.nextDouble(), 1.0F);
|
MysticWorld.proxy.fireFX(world, (player.posX - 0.5D) + rand.nextDouble(), player.posY, (player.posZ - 0.5D) + rand.nextDouble(), 1.0F);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue