Skip to content

Commit

Permalink
skip broken metrics initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Nov 9, 2024
1 parent 482bbc3 commit cb72dd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/lol/hub/headlessbot/Mod.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public void onInitialize() {
public void onInitializeClient() {
behavior = defaultBehavior();
chat = new Chat();
/*
// TODO: this broke on update to java 21
try {
var server = webServer();
Expand All @@ -57,6 +60,7 @@ public void onInitializeClient() {
// there is no need for graceful shutdown 🙈
throw new IllegalStateException(ex.getMessage());
}
*/

ScreenEvents.AFTER_INIT.register((client, screen, scaledWidth, scaledHeight) -> {
if (screen instanceof AccessibilityOnboardingScreen) {
Expand Down

0 comments on commit cb72dd2

Please sign in to comment.