Add force enable features toggle

This commit is contained in:
desyncfy
2024-08-15 20:37:07 -07:00
parent d3b2ed96f9
commit d953c946c9
8 changed files with 23 additions and 13 deletions

View File

@@ -53,7 +53,8 @@ class Bars {
val positionMatrix = drawContext?.matrices?.peek()?.positionMatrix
if (MinecraftClient.getInstance().networkHandler?.serverInfo?.address == "dungeonfy.minehut.gg" ||
MinecraftClient.getInstance().networkHandler?.serverInfo?.address == "51.222.121.148:25599" ||
MinecraftClient.getInstance().networkHandler?.serverInfo?.address == "minehut.com") {
MinecraftClient.getInstance().networkHandler?.serverInfo?.address == "minehut.com" ||
modDisableOverride) {
if (barsToggle) {
if (MinecraftClient.getInstance().networkHandler?.serverInfo?.address == "51.222.121.148:25599") {
buffer.begin(VertexFormat.DrawMode.QUADS, VertexFormats.POSITION_COLOR_TEXTURE)