diff options
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/potions/PotionStun.java')
| -rwxr-xr-x | src/main/java/darkknight/jewelrycraft/potions/PotionStun.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java index a0fca81..7bc304f 100755 --- a/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java +++ b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java @@ -35,12 +35,10 @@ public class PotionStun extends PotionBase { entity.rotationPitch = entity.prevRotationPitch;
entity.rotationYaw = entity.prevRotationYaw;
- entity.worldObj.spawnParticle("spell", entity.posX,
- entity.posY + entity.getEyeHeight(),
- entity.posZ, 0.0D, 0.3D, 0.0D);
+ entity.worldObj.spawnParticle("spell", entity.posX, entity.posY + entity.getEyeHeight(), entity.posZ, 0.0D,
+ 0.3D, 0.0D);
- if (entity.getActivePotionEffect(PotionList.stun)
- .getDuration() == 0) {
+ if (entity.getActivePotionEffect(PotionList.stun).getDuration() == 0) {
entity.removePotionEffect(PotionList.stun.id);
}
}
|
