Autoformat: spaces to tabs, remove unused imports

This commit is contained in:
mezz committed 2015-01-08 21:48:13 -08:00
1 parent a6d1a9f1a4
commit dac7c0ddef
93 files changed
+3159 -3058

No files matched your search

@@ -1,12 +1,12 @@
package magicbees.main.utils.compat;
import java.lang.reflect.Field;
import cpw.mods.fml.common.Loader;
import magicbees.main.Config;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import java.lang.reflect.Field;
public class ExtraBeesHelper
{
public enum CombType
@@ -83,7 +83,7 @@ public class ExtraBeesHelper
PINK,
LIMEGREEN,
MAGENTA,
LIGHTGRAY,
LIGHTGRAY,
NICKEL,
INVAR,
GLOWSTONE,
@@ -91,17 +91,16 @@ public class ExtraBeesHelper
PULP,
MULCH,
COMPOST,
SAWDUST,
;
SAWDUST,;
}
private static boolean isEBPresent = false;
public static boolean isActive()
{
return isEBPresent;
}
public static void preInit()
{
if (Loader.isModLoaded("ExtraBees") && Config.ExtraBeesActive)
@@ -109,10 +108,15 @@ public class ExtraBeesHelper
isEBPresent = true;
}
}
public static void init() {}
public static void postInit() {}
public static void init()
{
}
public static void postInit()
{
}
public static ItemStack getExtraBeeItem(String field)
{
ItemStack value = null;
@@ -120,11 +124,13 @@ public class ExtraBeesHelper
{
Class src = Class.forName("binnie.extrabees.core.ExtraBeeItem");
Field f = src.getDeclaredField(field);
Item i = (Item) f.get(null);
Item i = (Item)f.get(null);
value = new ItemStack(i);
}
catch (Exception e) { }
catch (Exception e)
{
}
return value;
}
}