diff options
Diffstat (limited to 'src/main/java/gregtech/common/tools')
-rw-r--r-- | src/main/java/gregtech/common/tools/GT_Tool_Scoop.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/common/tools/GT_Tool_Scoop.java b/src/main/java/gregtech/common/tools/GT_Tool_Scoop.java index f0ad65d838..df6a5ef668 100644 --- a/src/main/java/gregtech/common/tools/GT_Tool_Scoop.java +++ b/src/main/java/gregtech/common/tools/GT_Tool_Scoop.java @@ -1,5 +1,7 @@ package gregtech.common.tools; +import static gregtech.api.enums.ModIDs.Forestry; + import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.EntityLivingBase; @@ -8,8 +10,6 @@ import net.minecraft.util.ChatComponentText; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.IChatComponent; -import cpw.mods.fml.common.Loader; -import gregtech.api.enums.GT_Values; import gregtech.api.enums.Textures; import gregtech.api.interfaces.IIconContainer; import gregtech.api.items.GT_MetaGenerated_Tool; @@ -110,7 +110,7 @@ public class GT_Tool_Scoop extends GT_Tool { @Override public void onStatsAddedToTool(GT_MetaGenerated_Tool aItem, int aID) { - if (Loader.isModLoaded(GT_Values.MOD_ID_FR)) { + if (Forestry.isModLoaded()) { aItem.addItemBehavior(aID, new Behaviour_Scoop(200)); } else { aItem.addItemBehavior(aID, new Behaviour_None()); |