All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hendrixshen.magiclib.impl.malilib.debug.MagicLibDebugHelper Maven / Gradle / Ivy

There is a newer version: 0.8.41
Show newest version
package top.hendrixshen.magiclib.impl.malilib.debug;

import top.hendrixshen.magiclib.impl.malilib.SharedConstants;
import top.hendrixshen.magiclib.impl.malilib.config.GlobalConfigManager;

public class MagicLibDebugHelper {
    public static void resetAllConfigStatistic() {
        GlobalConfigManager.getInstance().getAllContainers().forEach(configContainer ->
                configContainer.getStatistic().reset());
    }

    public static void resetMagicLibConfigStatistic() {
        SharedConstants.getConfigManager().getAllContainers().forEach(configContainer ->
                configContainer.getStatistic().reset());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy