diff --git a/CHANGELOG.md b/CHANGELOG.md index 595ec48..4037c36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ ### Fixes -- **Fixed** [#4.](https://github.com/KessokuTeaTime/Edgeless-Chat-Screen/issues/4) \ No newline at end of file +- **Fixed** [#5.](https://github.com/KessokuTeaTime/Edgeless-Chat-Screen/issues/5) \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2012fc7..1c45516 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] maven-group = "band.kessokuteatime" archives-name = "edgelesschatscreen" -mod = "1.1.1" +mod = "1.1.2" loader = "fabric" minecraft = "1.20" diff --git a/src/main/java/band/kessokuteatime/edgelesschatscreen/mixin/ChatScreenMixin.java b/src/main/java/band/kessokuteatime/edgelesschatscreen/mixin/ChatScreenMixin.java index abd1c37..1499530 100644 --- a/src/main/java/band/kessokuteatime/edgelesschatscreen/mixin/ChatScreenMixin.java +++ b/src/main/java/band/kessokuteatime/edgelesschatscreen/mixin/ChatScreenMixin.java @@ -15,10 +15,10 @@ public class ChatScreenMixin { target = "Lnet/minecraft/client/gui/DrawContext;fill(IIIII)V" ) ) - /* MatrixStack *, int x1, int x2, int y1, int y2, int color */ + /* int x1, int x2, int y1, int y2, int color */ private void fillEdgeless(Args args) { - args.set(1, (int) args.get(1) - 2); + args.set(0, (int) args.get(0) - 2); + args.set(2, (int) args.get(2) + 2); args.set(3, (int) args.get(3) + 2); - args.set(4, (int) args.get(4) + 2); } }