Skip to content

Commit

Permalink
fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest committed Jun 29, 2024
1 parent 1209ad5 commit 5088418
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ dependencies {
// If we are building for legacy forge, includes the launch wrapper with `shade` as we configured earlier.
if (platform.isLegacyForge) {
compileOnly("org.spongepowered:mixin:0.7.11-SNAPSHOT")
shade("cc.polyfrost:oneconfig-wrapper-launchwrapper:1.0.0-beta17")
//shade("cc.polyfrost:oneconfig-wrapper-launchwrapper:1.0.0-beta17")
}
}

Expand Down Expand Up @@ -201,7 +201,7 @@ tasks {
"ForceLoadAsMod" to true, // We want to load this jar as a mod, so we force Forge to do so.
"TweakOrder" to "0", // Makes sure that the OneConfig launch wrapper is loaded as soon as possible.
"MixinConfigs" to "mixins.hytils.json", // We want to use our mixin configuration, so we specify it here.
//"TweakClass" to "cc.polyfrost.oneconfig.loader.stage0.LaunchWrapperTweaker" // Loads the OneConfig launch wrapper.
"TweakClass" to "org.spongepowered.asm.launch.MixinTweaker"
)
}
dependsOn(shadowJar)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/polyfrost/hytils/config/HytilsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public class HytilsConfig extends Config {
description = "Choose which GEXP to get.",
options = {"Daily", "Weekly"}
)
public static boolean gexpMode = false;
public static int gexpMode = 0;

@Switch(
title = "Automatically Check Winstreak",
Expand Down Expand Up @@ -1223,7 +1223,7 @@ public class HytilsConfig extends Config {


public HytilsConfig() {
super("hytilsreborn.json", "/assets/hytils/hypixel.png", "Hytils Reborn", Category.HYPIXEL); // new VigilanceMigrator(new File(HytilsReborn.INSTANCE.oldModDir, "hytilsreborn.toml").getAbsolutePath()))
super("hytilsreborn.json", "Hytils Reborn", Category.HYPIXEL); // new VigilanceMigrator(new File(HytilsReborn.INSTANCE.oldModDir, "hytilsreborn.toml").getAbsolutePath()))
try {
File modDir = HytilsReborn.INSTANCE.oldModDir;
File oldModDir = new File(modDir.getParentFile(), "Hytilities Reborn");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void onTitle(TitleEvent event) {
private void doNotification() {
victoryDetected = true;
if (HytilsConfig.autoGetGEXP) {
if (!HytilsConfig.gexpMode) {
if (HytilsConfig.gexpMode == 0) {
try {
if (HypixelAPIUtils.getGEXP()) {
Notifications.INSTANCE
Expand Down

0 comments on commit 5088418

Please sign in to comment.