From 20bef6e26d948698398bd16aeab8c9e6b89110e4 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 22 Aug 2019 20:01:40 -0400 Subject: Format/import cleanup --- src/main/java/darkknight/jewelrycraft/potions/PotionStun.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/main/java/darkknight/jewelrycraft/potions/PotionStun.java') 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); } } -- cgit v1.2.3