diff --git a/build.gradle b/build.gradle index ce17df3da..5c60288fc 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ dependencies { //include(modApi(fabricApi.module("fabric-api-base", project.fabric_api_version))) modCompileOnly "com.terraformersmc:modmenu:${project.mod_menu_version}" - modRuntimeOnly 'me.fallenbreath:mixin-auditor:0.1.0' +// modRuntimeOnly 'me.fallenbreath:mixin-auditor:0.1.0' } base { @@ -36,16 +36,16 @@ base { } loom { - def commonVmArgs = ['-Dmixin.debug.export=true', '-Dmixin.debug.countInjections=true'] - // [FEATURE] MIXIN_AUDITOR - runs { - def auditVmArgs = [*commonVmArgs, '-DmixinAuditor.audit=true'] - clientMixinAudit { - client() - vmArgs auditVmArgs - ideConfigGenerated false - } - } +// def commonVmArgs = ['-Dmixin.debug.export=true', '-Dmixin.debug.countInjections=true'] +// // [FEATURE] MIXIN_AUDITOR +// runs { +// def auditVmArgs = [*commonVmArgs, '-DmixinAuditor.audit=true'] +// clientMixinAudit { +// client() +// vmArgs auditVmArgs +// ideConfigGenerated false +// } +// } } processResources { diff --git a/gradle.properties b/gradle.properties index bd4a27c05..23bab9d35 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,10 +9,10 @@ author = masa mod_file_name = tweakeroo-fabric # Current mod version -mod_version = 0.23.2-sakura.2 +mod_version = 0.23.2-sakura.1 # Required malilib version -malilib_version = a754ac393b +malilib_version = 9aa89b627c # Minecraft, Fabric Loader and API and mappings versions minecraft_version_out = 1.21.4 diff --git a/src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java b/src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java index c8fc48ef4..53456a8c4 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java +++ b/src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java @@ -199,6 +199,8 @@ private void renderOverlays(Matrix4f posMatrix, MinecraftClient mc) fi.dy.masa.malilib.render.RenderUtils.setupBlend(); + // todo already updated in future versions, I just don't want to break existing + @SuppressWarnings("deprecation") Color4f color = Configs.Generic.FLEXIBLE_PLACEMENT_OVERLAY_COLOR.getColor(); fi.dy.masa.malilib.render.RenderUtils.renderBlockTargetingOverlay( diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 8943a9448..d4b74a044 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,6 +34,6 @@ "depends": { "minecraft": "1.21.4", - "malilib": ">=0.23.2-sakura.1" + "malilib": ">=0.23.2-sakura.2" } }