diff options
-rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Item_Machines.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Item_Machines.java b/src/main/java/gregtech/common/blocks/GT_Item_Machines.java index fb8a9cbe89..74a53c1743 100644 --- a/src/main/java/gregtech/common/blocks/GT_Item_Machines.java +++ b/src/main/java/gregtech/common/blocks/GT_Item_Machines.java @@ -254,10 +254,10 @@ public class GT_Item_Machines extends ItemBlock implements IFluidContainerItem { double tmp = (tFluidAmount - tMiddlePoint) / tSmoothingCoefficient; tLasing = (int) (Math.exp(tmp) / (Math.exp(tmp) + Math.exp(-tmp)) * tMaxLastingTime); } - tPlayer.addPotionEffect(new PotionEffect(Potion.hunger.id, tLasing, 4)); - tPlayer.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, tLasing, 4)); - tPlayer.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, tLasing, 4)); - tPlayer.addPotionEffect(new PotionEffect(Potion.weakness.id, tLasing, 4)); + tPlayer.addPotionEffect(new PotionEffect(Potion.hunger.id, tLasing, 1)); + tPlayer.addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, tLasing, 1)); + tPlayer.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, tLasing, 1)); + tPlayer.addPotionEffect(new PotionEffect(Potion.weakness.id, tLasing, 1)); } } } |