Skip to content

Commit f8117cf

Browse files
committed
fix: bundle correct version of SpruceUI
1 parent 13adff2 commit f8117cf

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

common/src/main/java/eu/midnightdust/midnightcontrols/client/gui/config/ControllerBindingButton.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ public void drawLabel(DrawnTextConsumer consumer) {
118118

119119
@Override
120120
protected void drawIcon(DrawContext context, int mouseX, int mouseY, float deltaTicks) {
121+
this.drawButton(context);
122+
this.drawLabel(context.getHoverListener(this, DrawContext.HoverType.NONE));
121123
int x = this.getX();
122124
if (this.binding.getButton().length > 1) {
123125
x += (this.width / 2 - iconWidth / 2) - 4;

fabric/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
2525
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
2626
modImplementation include ("maven.modrinth:midnightlib:${rootProject.midnightlib_version}-fabric")
27-
modImplementation ("dev.lambdaurora:spruceui:${project.spruceui_version}")
27+
modImplementation include ("dev.lambdaurora:spruceui:${project.spruceui_version}")
2828
include("dev.yumi.mc.core:yumi-mc-foundation:1.0.0-beta.1+1.21.11")
2929
include 'org.aperlambda:lambdajcommon:1.8.1'
3030
modCompileOnly "maven.modrinth:emi:${project.emi_version}"

gradle.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
org.gradle.parallel=true
33
org.gradle.jvmargs=-Xmx2048M
44

5+
loom.ignoreDependencyLoomVersionValidation=true
6+
57
minecraft_version=1.21.11
68
supported_versions=
79
yarn_mappings=1.21.11+build.2
810
enabled_platforms=fabric,neoforge
911

1012
archives_base_name=midnightcontrols
11-
mod_version=1.11.4-alpha.1
13+
mod_version=1.11.4-beta.1
1214
maven_group=eu.midnightdust
1315
release_type=beta
1416
modrinth_id = bXX9h73M
@@ -27,7 +29,7 @@ quilt_loader_version=0.19.0-beta.18
2729
quilt_fabric_api_version=7.0.1+0.83.0-1.20
2830

2931
sodium_version=mc1.21-0.6.0-beta.1
30-
spruceui_version=9.0.0+1.21.9
32+
spruceui_version=9.1.0+1.21.11
3133
modmenu_version=10.0.0-beta.1
3234
emotecraft_version=2.5.5+1.21.4-fabric
3335
bendylib_version=2.0.+

0 commit comments

Comments
 (0)