summaryrefslogtreecommitdiff
path: root/src/main/java/darkknight/jewelrycraft/potions
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/potions')
-rwxr-xr-xsrc/main/java/darkknight/jewelrycraft/potions/PotionList.java5
-rwxr-xr-xsrc/main/java/darkknight/jewelrycraft/potions/PotionStun.java4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/potions/PotionList.java b/src/main/java/darkknight/jewelrycraft/potions/PotionList.java
index 632e92a..53c768e 100755
--- a/src/main/java/darkknight/jewelrycraft/potions/PotionList.java
+++ b/src/main/java/darkknight/jewelrycraft/potions/PotionList.java
@@ -23,8 +23,9 @@ public class PotionList {
if (Potion.potionTypes.length > 231) {
stun = new PotionStun(230, true, 0x000000);
} else {
- stun = new PotionStun(Potion.potionTypes.length - 2, true,
- 0x000000);
+ stun = new PotionStun(
+ Potion.potionTypes.length - 2,
+ true, 0x000000);
}
}
diff --git a/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java
index a361e9f..a0fca81 100755
--- a/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java
+++ b/src/main/java/darkknight/jewelrycraft/potions/PotionStun.java
@@ -36,8 +36,8 @@ public class PotionStun extends PotionBase {
entity.rotationYaw = entity.prevRotationYaw;
entity.worldObj.spawnParticle("spell", entity.posX,
- entity.posY + entity.getEyeHeight(), entity.posZ, 0.0D,
- 0.3D, 0.0D);
+ entity.posY + entity.getEyeHeight(),
+ entity.posZ, 0.0D, 0.3D, 0.0D);
if (entity.getActivePotionEffect(PotionList.stun)
.getDuration() == 0) {