Posted January 27, 201312 yr OK, so I keep getting this error: http://pastebin.com/eCieCrPj and I'm not sure why, I think it may be something to do with the config. But I'm not sure. EDIT: New repo link: https://bitbucket.org/SuitedSlime/mechergy/
January 27, 201312 yr if you want to see how I did it, here's my github https://github.com/Code-Lyoko-Modding/CodeLyokoMod
January 27, 201312 yr Author Not the way I want to do it. I already know that method, don't like it all that much.
January 28, 201312 yr Author yeah, I noticed that and removed it from the @ServerStarting. Just forgot to commit the change.
January 29, 201312 yr Author Me neither, it's been driving me nuts for 2 days now All I know is that it's something with this method; public static void loadConfig(Configuration config){ int baseID = 800; machinePressID = getBlockConfig(config, "machinePress", baseID++); } private static int getBlockConfig(Configuration config, String key, int defaultID) { return config.getBlock(config.CATEGORY_BLOCK, key, defaultID).getInt(defaultID); } public static void registerBlocks(){ machinePress = new BlockPress(machinePressID);
January 29, 201312 yr Author I'm not though Look at my source, I've set the base ID to 800 and increment it by 1 with every entry.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.