Removed inf power config from AL

This commit is contained in:
DarkGuardsman 2013-11-27 08:34:44 -05:00
parent b7e3e4beef
commit 2ed29bc6fb
2 changed files with 0 additions and 11 deletions

View file

@ -86,9 +86,6 @@ public class AssemblyLine extends ModPrefab
public static Logger FMLog = Logger.getLogger(AssemblyLine.MOD_NAME);
// TODO: MAKE THIS FALSE EVERY BUILD!
public static final boolean DEBUG = false;
public static boolean REQUIRE_NO_POWER = false;
public static boolean VINALLA_RECIPES = false;
@Override
@ -162,7 +159,6 @@ public class AssemblyLine extends ModPrefab
AssemblyLine.VINALLA_RECIPES = CONFIGURATION.get("general", "Vinalla_Recipes", false).getBoolean(false);
AssemblyLine.REQUIRE_NO_POWER = !CONFIGURATION.get("TileSettings", "requirePower", true).getBoolean(true);
TileEntityAssembly.refresh_diff = CONFIGURATION.get("TileSettings", "RefreshRandomRange", 9, "n = value of config, 1 + n, random number range from 1 to n that will be added to the lowest refresh value").getInt();
TileEntityAssembly.refresh_min_rate = CONFIGURATION.get("TileSettings", "RefreshLowestValue", 20, "Lowest value the refresh rate of the tile network will be").getInt();

View file

@ -71,13 +71,6 @@ public abstract class TileEntityAssembly extends TileEntityEnergyMachine impleme
}
}
@Override
public boolean canFunction()
{
//TODO add check for network power
return super.canFunction() || AssemblyLine.REQUIRE_NO_POWER;
}
@Override
public boolean canTileConnect(Connection type, ForgeDirection dir)
{