diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-08-22 20:01:40 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-08-22 20:01:40 -0400 |
| commit | 20bef6e26d948698398bd16aeab8c9e6b89110e4 (patch) | |
| tree | 8a21e17f78b330435f4ce2d4355d72b773230aa7 /src/main/java/darkknight/jewelrycraft/potions/PotionStun.java | |
| parent | 26fb28edd1ebb6390f8803fed3876d222cb8fdba (diff) | |
Format/import cleanup
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);
}
}
|
