From 767ba3a69f8bb8aae4ec079f628621c1cc881599 Mon Sep 17 00:00:00 2001 From: Forstride Date: Wed, 3 Aug 2016 10:28:24 -0400 Subject: [PATCH] Fixed shroom powder potion effect chance --- src/main/java/biomesoplenty/common/init/ModItems.java | 2 +- src/main/java/biomesoplenty/core/BiomesOPlenty.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/biomesoplenty/common/init/ModItems.java b/src/main/java/biomesoplenty/common/init/ModItems.java index 84d012499..f7426d21a 100644 --- a/src/main/java/biomesoplenty/common/init/ModItems.java +++ b/src/main/java/biomesoplenty/common/init/ModItems.java @@ -165,7 +165,7 @@ public class ModItems pinecone = registerItem(new Item(), "pinecone"); shroompowder = registerItem(new ItemFood(1, 0.1F, false), "shroompowder"); ((ItemFood)shroompowder).setAlwaysEdible(); - ((ItemFood)shroompowder).setPotionEffect(new PotionEffect(MobEffects.NAUSEA, 225, 0), 0.6F); + ((ItemFood)shroompowder).setPotionEffect(new PotionEffect(MobEffects.NAUSEA, 225, 0), 1.0F); ambrosia = registerItem(new ItemAmbrosia(), "ambrosia"); earth = registerItem(new Item(), "earth"); diff --git a/src/main/java/biomesoplenty/core/BiomesOPlenty.java b/src/main/java/biomesoplenty/core/BiomesOPlenty.java index b5f10db04..e67e2439e 100644 --- a/src/main/java/biomesoplenty/core/BiomesOPlenty.java +++ b/src/main/java/biomesoplenty/core/BiomesOPlenty.java @@ -9,6 +9,7 @@ package biomesoplenty.core; import java.io.File; +import java.util.Locale; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -30,9 +31,6 @@ import biomesoplenty.common.init.ModPotions; import biomesoplenty.common.init.ModSounds; import biomesoplenty.common.init.ModVanillaCompat; import biomesoplenty.common.remote.TrailManager; -import biomesoplenty.common.world.WorldProviderHellBOP; -import net.minecraft.world.DimensionType; -import net.minecraftforge.common.DimensionManager; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance;