diff --git a/src/main/java/xyz/devcomp/elytralock/events/HudRenderHandler.java b/src/main/java/xyz/devcomp/elytralock/events/HudRenderHandler.java index 60b3f4e..ea1b94f 100644 --- a/src/main/java/xyz/devcomp/elytralock/events/HudRenderHandler.java +++ b/src/main/java/xyz/devcomp/elytralock/events/HudRenderHandler.java @@ -19,6 +19,6 @@ public class HudRenderHandler implements HudRenderCallback { Window window = ElytraLock.client.getWindow(); int width = window.getScaledWidth(), height = window.getScaledHeight(); - context.drawGuiTexture(icon, (width / 2) + 95, height - HEIGHT - 3, WIDTH, HEIGHT); + context.drawTexture(icon, (width / 2) + 95, height - HEIGHT - 3, 0, 0, WIDTH, HEIGHT, WIDTH, HEIGHT); } } \ No newline at end of file diff --git a/src/main/resources/assets/elytra-lock/icon.png b/src/main/resources/assets/elytra-lock/icon.png index a821a0c..8f956c4 100644 Binary files a/src/main/resources/assets/elytra-lock/icon.png and b/src/main/resources/assets/elytra-lock/icon.png differ diff --git a/src/main/resources/assets/elytra-lock/textures/gui/locked.png b/src/main/resources/assets/elytra-lock/textures/gui/locked.png index a821a0c..92eb402 100644 Binary files a/src/main/resources/assets/elytra-lock/textures/gui/locked.png and b/src/main/resources/assets/elytra-lock/textures/gui/locked.png differ diff --git a/src/main/resources/assets/elytra-lock/textures/gui/unlocked.png b/src/main/resources/assets/elytra-lock/textures/gui/unlocked.png index a821a0c..4f46eb6 100644 Binary files a/src/main/resources/assets/elytra-lock/textures/gui/unlocked.png and b/src/main/resources/assets/elytra-lock/textures/gui/unlocked.png differ diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 8226a5e..cbc61d2 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -13,6 +13,14 @@ } } ], + "contributors": [ + { + "name": "intergrav", + "contact": { + "homepage": "https://github.com/intergrav" + } + } + ], "contact": { "homepage": "https://fabricmc.net/", "sources": "https://git.devcomp.xyz/DevComp/elytra-lock-fabric", @@ -42,4 +50,4 @@ "yet_another_config_lib_v3": "*", "modmenu": "*" } -} \ No newline at end of file +}