Skip to content

Commit

Permalink
Use correct tweaker in build file
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Oct 15, 2024
1 parent 63b17cc commit b3eb776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ toolkitLoomHelper {

// Adds the tweak class if we are building legacy version of forge as per the documentation (https://docs.polyfrost.org)
if (mcData.isLegacyForge) {
useTweaker("org.polyfrost.oneconfig.internal.legacy.OneConfigTweaker", GameSide.CLIENT)
useTweaker("org.polyfrost.oneconfig.loader.stage0.LaunchWrapperTweaker", GameSide.CLIENT)
useForgeMixin(modData.id) // Configures the mixins if we are building for forge, useful for when we are dealing with cross-platform projects.
}
}
Expand Down

0 comments on commit b3eb776

Please sign in to comment.