OSDN Git Service

修正
authorponkotate <ponkotate@users.sourceforge.jp>
Sun, 25 Nov 2012 04:58:22 +0000 (13:58 +0900)
committerponkotate <ponkotate@users.sourceforge.jp>
Sun, 25 Nov 2012 04:58:22 +0000 (13:58 +0900)
・集気ビンのIDがload();~save();内に入っていなかった。

src/ChemiCraft.java

index 313199e..d7ca51c 100644 (file)
@@ -81,8 +81,8 @@ public class ChemiCraft
        public void chemiPreLoadMethod(FMLPreInitializationEvent event)
        {
                Configuration cfg = new Configuration(event.getSuggestedConfigurationFile());
-               Property gasCollectingBottleIDProp = cfg.getItem("gasCollectingBottleID", 25000);
                cfg.load();
+               Property gasCollectingBottleIDProp = cfg.getItem("gasCollectingBottleID", 25000);
                Property atomsIDProp = cfg.getItem("atomsID", 25001);
                Property compoundsIDProp = cfg.getItem("compoundsID", 25002);
                gasCollectingBottleID = gasCollectingBottleIDProp.getInt();