private void innerLoad() { File f = DimensionManager.getCurrentSaveRootDirectory(); conf = new HyperCubeConfig( new File( DimensionManager.getCurrentSaveRootDirectory(), "enderio/dimensionalTransceiver.cfg")); publicChannels.addAll(conf.getPublicChannels()); userChannels.putAll(conf.getUserChannels()); }
private void updateConfig() { if (conf == null) { Log.warn("HyperCubeRegister.updateConfig: Config was null."); return; } conf.setPublicChannels(publicChannels); conf.setUserChannels(userChannels); conf.save(); }