Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 5e3eb40

Browse files
committed
add missing enabled check
1 parent da7d733 commit 5e3eb40

File tree

7 files changed

+7
-7
lines changed
  • 1.16.5/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.16_combat-6/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.19.2/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.19.3/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.19.4/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.20/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars
  • 1.8.9/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars

7 files changed

+7
-7
lines changed

1.16.5/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
141141
event.setNewMessage(new LiteralText(time).append(event.getFormattedMessage()));
142142
}
143143
}
144-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
145145
// Give time for Hypixel to sync
146146
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
147147
}

1.16_combat-6/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
142142
event.setNewMessage(new LiteralText(time).append(event.getFormattedMessage()));
143143
}
144144
}
145-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
145+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
146146
// Give time for Hypixel to sync
147147
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
148148
}

1.19.2/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
140140
event.setNewMessage(Text.literal(time).append(event.getFormattedMessage()));
141141
}
142142
}
143-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
143+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144144
// Give time for Hypixel to sync
145145
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
146146
}

1.19.3/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
140140
event.setNewMessage(Text.literal(time).append(event.getFormattedMessage()));
141141
}
142142
}
143-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
143+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144144
// Give time for Hypixel to sync
145145
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
146146
}

1.19.4/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
140140
event.setNewMessage(Text.literal(time).append(event.getFormattedMessage()));
141141
}
142142
}
143-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
143+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144144
// Give time for Hypixel to sync
145145
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
146146
}

1.20/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
141141
event.setNewMessage(Text.literal(time).append(event.getFormattedMessage()));
142142
}
143143
}
144-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
145145
// Give time for Hypixel to sync
146146
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
147147
}

1.8.9/src/main/java/io/github/axolotlclient/modules/hypixel/bedwars/BedwarsMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void onMessage(ReceiveChatMessageEvent event) {
140140
event.setNewMessage(new LiteralText(time).append(event.getFormattedMessage()));
141141
}
142142
}
143-
} else if (targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
143+
} else if (enabled.get() && targetTick < 0 && BedwarsMessages.matched(GAME_START, rawMessage).isPresent()) {
144144
// Give time for Hypixel to sync
145145
targetTick = MinecraftClient.getInstance().inGameHud.getTicks() + 10;
146146
}

0 commit comments

Comments
 (0)