Config file fix
This commit is contained in:
parent
bac2723c43
commit
21afceb5ed
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ public class BasicPipesMain{
|
|||
|
||||
@SidedProxy(clientSide = "BasicPipes.PipeClientProxy", serverSide = "BasicPipes.PipeProxy")
|
||||
public static PipeProxy proxy;
|
||||
static Configuration config = new Configuration((new File(Minecraft.getMinecraftDir(), "config/EUIndustry/BasicPipes.cfg")));
|
||||
static Configuration config = new Configuration((new File(cpw.mods.fml.common.Loader.instance().getConfigDir(), "/EUIndustry/BasicPipes.cfg")));
|
||||
public static int pipeID = configurationProperties();
|
||||
private static int partID;
|
||||
private static int ppipeID;
|
||||
|
|
|
@ -32,7 +32,7 @@ import cpw.mods.fml.common.registry.LanguageRegistry;
|
|||
@NetworkMod(channels = { "SPpack" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class)
|
||||
|
||||
public class SteamPowerMain{
|
||||
static Configuration config = new Configuration((new File(Minecraft.getMinecraftDir(), "config/EUIndustry/SteamPower.cfg")));
|
||||
static Configuration config = new Configuration((new File(cpw.mods.fml.common.Loader.instance().getConfigDir(), "/EUIndustry/SteamPower.cfg")));
|
||||
private static int BlockID= configurationProperties();
|
||||
public static int EngineItemID;
|
||||
public static int EngineID;
|
||||
|
|
Loading…
Reference in a new issue