Clear cached per-world configurations on reload.
This commit is contained in:
parent
cbfcecf2b4
commit
d82fb9c804
|
@ -72,6 +72,7 @@ public class ReloadCommand extends BaseCommand {
|
|||
// (Magic/TODO)
|
||||
final WorldDataManager worldDataManager = (WorldDataManager) NCPAPIProvider.getNoCheatPlusAPI().getWorldDataManager();
|
||||
ConfigManager.init(access, worldDataManager);
|
||||
worldDataManager.removeCachedConfigs();
|
||||
if (logManager instanceof INotifyReload) { // TODO: This is a band-aid.
|
||||
((INotifyReload) logManager).onReload();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue