From a76e98b98d31a17dd541e612981b6e9cfeba4d20 Mon Sep 17 00:00:00 2001 From: SpaceToad Date: Mon, 5 May 2014 19:10:24 +0200 Subject: [PATCH] removed obsolete properties --- common/buildcraft/BuildCraftBuilders.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/common/buildcraft/BuildCraftBuilders.java b/common/buildcraft/BuildCraftBuilders.java index 74657c89..44262ae3 100644 --- a/common/buildcraft/BuildCraftBuilders.java +++ b/common/buildcraft/BuildCraftBuilders.java @@ -34,8 +34,6 @@ import cpw.mods.fml.relauncher.SideOnly; import net.minecraftforge.client.event.TextureStitchEvent; import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.common.config.Configuration; -import net.minecraftforge.common.config.Property; import buildcraft.api.blueprints.BlueprintDeployer; import buildcraft.api.blueprints.SchematicBlock; @@ -138,9 +136,6 @@ public class BuildCraftBuilders extends BuildCraftMod { public static BlockUrbanist urbanistBlock; public static ItemBlueprintTemplate templateItem; public static ItemBlueprintStandard blueprintItem; - public static boolean fillerDestroy; - public static int fillerLifespanTough; - public static int fillerLifespanNormal; public static ActionFiller[] fillerActions; @Mod.Instance("BuildCraft|Builders") public static BuildCraftBuilders instance; @@ -328,18 +323,6 @@ public class BuildCraftBuilders extends BuildCraftMod { @Mod.EventHandler public void preInit(FMLPreInitializationEvent evt) { - Property fillerDestroyProp = BuildCraftCore.mainConfiguration.get(Configuration.CATEGORY_GENERAL, "filler.destroy", DefaultProps.FILLER_DESTROY); - fillerDestroyProp.comment = "If true, Filler will destroy blocks instead of breaking them."; - fillerDestroy = fillerDestroyProp.getBoolean(DefaultProps.FILLER_DESTROY); - - Property fillerLifespanToughProp = BuildCraftCore.mainConfiguration.get(Configuration.CATEGORY_GENERAL, "filler.lifespan.tough", DefaultProps.FILLER_LIFESPAN_TOUGH); - fillerLifespanToughProp.comment = "Lifespan in ticks of items dropped by the filler from 'tough' blocks (those that can't be broken by hand)"; - fillerLifespanTough = fillerLifespanToughProp.getInt(DefaultProps.FILLER_LIFESPAN_TOUGH); - - Property fillerLifespanNormalProp = BuildCraftCore.mainConfiguration.get(Configuration.CATEGORY_GENERAL, "filler.lifespan.other", DefaultProps.FILLER_LIFESPAN_NORMAL); - fillerLifespanNormalProp.comment = "Lifespan in ticks of items dropped by the filler from non-tough blocks (those that can be broken by hand)"; - fillerLifespanNormal = fillerLifespanNormalProp.getInt(DefaultProps.FILLER_LIFESPAN_NORMAL); - templateItem = new ItemBlueprintTemplate(); templateItem.setUnlocalizedName("templateItem"); CoreProxy.proxy.registerItem(templateItem);