Skip to content

Commit 83c1180

Browse files
committed
fix Credits overlay, remove aw
1 parent 3b8b859 commit 83c1180

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ repositories {
3131
maven { url 'https://jitpack.io' }
3232
}
3333

34-
loom {
35-
accessWidenerPath = file("src/main/resources/axolotlclient.accesswidener")
36-
}
37-
3834
dependencies {
3935
minecraft "com.mojang:minecraft:${minecraft_version}"
4036
mappings "org.quiltmc:quilt-mappings:${minecraft_version}+build.${quilt_mappings}:intermediary-v2"

src/main/java/io/github/axolotlclient/config/screen/CreditsScreen.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import io.github.axolotlclient.AxolotlClient;
2828
import io.github.axolotlclient.AxolotlclientConfig.Color;
2929
import io.github.axolotlclient.modules.hud.util.DrawUtil;
30+
import io.github.axolotlclient.modules.hud.util.RenderUtil;
3031
import io.github.axolotlclient.util.Util;
3132
import net.minecraft.client.MinecraftClient;
3233
import net.minecraft.client.gui.Element;
@@ -369,7 +370,7 @@ public void init() {
369370
}
370371

371372
public void render(MatrixStack matrices) {
372-
DrawUtil.fillRect(matrices, x, y, width, height,
373+
RenderUtil.drawRectangle(matrices, x, y, width, height,
373374
io.github.axolotlclient.AxolotlclientConfig.Color.DARK_GRAY.withAlpha(127));
374375
DrawUtil.outlineRect(matrices, x, y, width, height,
375376
io.github.axolotlclient.AxolotlclientConfig.Color.BLACK.getAsInt());

src/main/resources/axolotlclient.accesswidener

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main/resources/quilt.mod.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
]
4646
},
4747
"mixin": "axolotlclient.mixins.json",
48-
"access_widener": "axolotlclient.accesswidener",
49-
5048
"minecraft": {
5149
"environment": "client"
5250
}

0 commit comments

Comments
 (0)