Skip to content

Commit

Permalink
Bump MaLiLib / disable MixinAuditor
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 17, 2025
1 parent 34cf47f commit 5942cc9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mod_file_name = tweakeroo-fabric
mod_version = 0.21.57-sakura.1

# Required malilib version
malilib_version = 2bf6ae3ed8
malilib_version = ad82c539b5

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,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(
Expand Down

0 comments on commit 5942cc9

Please sign in to comment.