emergency fix, relister turning on no matter what
This commit is contained in:
parent
e86dfba242
commit
c3c32312cc
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ import me.night0721.lilase.gui.GUIRenderer;
|
|||
import me.night0721.lilase.remotecontrol.RemoteControl;
|
||||
import me.night0721.lilase.utils.Clock;
|
||||
import me.night0721.lilase.utils.KeyBindingManager;
|
||||
import me.night0721.lilase.utils.ScoreboardUtils;
|
||||
import me.night0721.lilase.utils.Utils;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiDisconnected;
|
||||
|
@ -82,7 +83,7 @@ public class Lilase {
|
|||
tickAmount++;
|
||||
if (tickAmount % 20 == 0) Utils.checkFooter();
|
||||
// if (pageFlipper != null) pageFlipper.switchStates();
|
||||
if (tickAmount % (RELIST_CHECK_TIMEOUT * 72_000) == 0) {
|
||||
if (tickAmount % (RELIST_CHECK_TIMEOUT * 72_000) == 0 && ScoreboardUtils.getSidebarLines().stream().map(ScoreboardUtils::cleanSB).anyMatch(s -> s.contains("SKYBLOCK")) && AUTO_RELIST) {
|
||||
relister.shouldBeRelisting = true;
|
||||
if (Flipper.state == FlipperState.NONE) relister.toggle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue