diff --git a/common/biomesoplenty/entities/EntityPixie.java b/common/biomesoplenty/entities/EntityPixie.java index b31ddbe1a..fc962024e 100644 --- a/common/biomesoplenty/entities/EntityPixie.java +++ b/common/biomesoplenty/entities/EntityPixie.java @@ -96,12 +96,15 @@ public class EntityPixie extends EntityFlyingCreature { super.onEntityUpdate(); - for (int i = 0; i < 7; i++) + if (this.worldObj.isRemote) { - if (this.rand.nextInt(2) == 0) - { - BiomesOPlenty.proxy.spawnParticle("pixietrail", this.posX + (this.rand.nextDouble()) * (double)this.width, this.posY + this.rand.nextDouble() * (double)this.height - (double)this.yOffset, this.posZ + (this.rand.nextDouble()) * (double)this.width); - } + for (int i = 0; i < 7; i++) + { + if (this.rand.nextInt(2) == 0) + { + BiomesOPlenty.proxy.spawnParticle("pixietrail", this.posX + (this.rand.nextDouble()) * (double)this.width, this.posY + this.rand.nextDouble() * (double)this.height - (double)this.yOffset, this.posZ + (this.rand.nextDouble()) * (double)this.width); + } + } } }