fix wrong path as caused by the previous commit

This commit is contained in:
Bella 2020-04-19 16:52:25 -04:00
parent 12443f233a
commit e6da636a5d
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
2 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -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();
}