Jump to content

Config errors (I think)


Recommended Posts

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);

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.