/** * Initialize BlockProperties, including config. Needs initMCAccess to be * called before. */ private void initBlockProperties(ConfigFile config) { // Set up BlockProperties. BlockProperties.init(mcAccess, ConfigManager.getWorldConfigProvider()); BlockProperties.applyConfig(config, ConfPaths.COMPATIBILITY_BLOCKS); // Schedule dumping the blocks properties (to let other plugins override). Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() { @Override public void run() { // Debug information about unknown blocks. // (Probably removed later.) ConfigFile config = ConfigManager.getConfigFile(); BlockProperties.dumpBlocks(config.getBoolean(ConfPaths.BLOCKBREAK_DEBUG, config.getBoolean(ConfPaths.CHECKS_DEBUG, false))); } }); }