forked from RepoMirrors/kami-blue
fix wrong path as caused by the previous commit
This commit is contained in:
parent
12443f233a
commit
e6da636a5d
|
@ -8,7 +8,7 @@ import me.zeroeightsix.kami.gui.UIRenderer;
|
|||
import me.zeroeightsix.kami.gui.kami.KamiGUI;
|
||||
import me.zeroeightsix.kami.gui.rgui.component.container.use.Frame;
|
||||
import me.zeroeightsix.kami.module.modules.client.CommandConfig;
|
||||
import me.zeroeightsix.kami.module.modules.misc.HungerOverlay;
|
||||
import me.zeroeightsix.kami.module.modules.player.HungerOverlay;
|
||||
import me.zeroeightsix.kami.module.modules.render.BossStack;
|
||||
import me.zeroeightsix.kami.util.HungerOverlayRenderHelper;
|
||||
import me.zeroeightsix.kami.util.HungerOverlayUtils;
|
||||
|
|
|
@ -5,6 +5,7 @@ import me.zeroeightsix.kami.module.modules.capes.Capes;
|
|||
import me.zeroeightsix.kami.module.modules.chat.CustomChat;
|
||||
import me.zeroeightsix.kami.module.modules.client.*;
|
||||
import me.zeroeightsix.kami.module.modules.misc.DiscordRPC;
|
||||
import me.zeroeightsix.kami.module.modules.player.HungerOverlay;
|
||||
import me.zeroeightsix.kami.module.modules.render.TabFriends;
|
||||
import me.zeroeightsix.kami.setting.Setting;
|
||||
import me.zeroeightsix.kami.setting.Settings;
|
||||
|
@ -28,6 +29,7 @@ public class RunConfig extends Module {
|
|||
private Setting<Boolean> hasRunTabFriends = register(Settings.b("TabFriends", false));
|
||||
private Setting<Boolean> hasRunCustomChat = register(Settings.b("CustomChat", false));
|
||||
private Setting<Boolean> hasRunTooltips = register(Settings.b("Tooltips", false));
|
||||
private Setting<Boolean> hasRunHungerOverlay = register(Settings.b("HungerOverlay", false));
|
||||
|
||||
public void onEnable() {
|
||||
MODULE_MANAGER.getModule(ActiveModules.class).enable();
|
||||
|
@ -59,6 +61,10 @@ public class RunConfig extends Module {
|
|||
MODULE_MANAGER.getModule(Tooltips.class).enable();
|
||||
hasRunTooltips.setValue(true);
|
||||
}
|
||||
if (!hasRunHungerOverlay.getValue()) {
|
||||
MODULE_MANAGER.getModule(HungerOverlay.class).enable();
|
||||
hasRunHungerOverlay.setValue(true);
|
||||
}
|
||||
|
||||
disable();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue