diff --git a/gradle.properties b/gradle.properties index d9167dc..26ae379 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ org.gradle.jvmargs=-Xmx1G #properties minecraft_version = 1.20.4 -plugin_version = 1.1.5 +plugin_version = 1.1.6 maven_group = me.john200410 archives_base_name = rusherhack-spotify \ No newline at end of file diff --git a/src/main/java/me/john200410/spotify/ui/SpotifyHudElement.java b/src/main/java/me/john200410/spotify/ui/SpotifyHudElement.java index cf8b5dd..016a523 100644 --- a/src/main/java/me/john200410/spotify/ui/SpotifyHudElement.java +++ b/src/main/java/me/john200410/spotify/ui/SpotifyHudElement.java @@ -233,11 +233,6 @@ public void tick() { } } - @Override - public boolean shouldDrawBackground() { - return false; - } - @Override public void renderContent(RenderContext context, double mouseX, double mouseY) { final IRenderer2D renderer = this.getRenderer(); @@ -435,6 +430,11 @@ public double getHeight() { return 75; } + @Override + public boolean shouldDrawBackground() { + return false; + } + private int getFillColor() { //TODO: return color based on song thumbnail return this.backgroundColor.getValueRGB();