Skip to content

Commit

Permalink
Fix error when querying useLegacyMixinAp on a Forge project.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jab125 authored Jul 18, 2024
1 parent 9416fc1 commit 8c2b72a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public abstract class MixinExtensionApiImpl implements MixinExtensionAPI {
public MixinExtensionApiImpl(Project project) {
this.project = Objects.requireNonNull(project);
this.useMixinAp = project.getObjects().property(Boolean.class)
.convention(project.provider(() -> !LoomGradleExtension.get(project).isNeoForge() && (!LoomGradleExtension.get(project).isForge() || !LoomGradleExtension.get(project).getForgeProvider().usesMojangAtRuntime())));
.convention(project.provider(() -> !LoomGradleExtension.get(project).isNeoForge()));

this.refmapTargetNamespace = project.getObjects().property(String.class)
.convention(project.provider(() -> IntermediaryNamespaces.runtimeIntermediary(project)));
Expand Down

0 comments on commit 8c2b72a

Please sign in to comment.