Fixed fire particle when fire orb is held

This commit is contained in:
allstar69 2013-06-28 18:53:56 -07:00
commit 8b3531311a

View file

@ -40,6 +40,9 @@ public class TickHandler implements IScheduledTickHandler
if (itemstack != null && itemstack.itemID == ItemHandler$1.fireOrb.itemID && player.isBurning()){
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);
}