architectury / architectury-loom

A Gradle plugin to setup environments for Fabric, Forge, NeoForge and Quilt modding.
https://docs.architectury.dev/loom/introduction
MIT License
110 stars 37 forks source link

Failed to genSource when aw contains forge/neoforge class/member in loom 1.7. #229

Open qyl27 opened 1 month ago

qyl27 commented 1 month ago

Architect Plugin: 3.4.159 Architectury Loom: 1.7.412

Logs:

> Task :sinodeco:sinodeco-forge:genSourcesWithVineflower FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sinodeco:sinodeco-forge:genSourcesWithVineflower'.
> Failed to decompile, java.lang.IllegalArgumentException: lineMap is empty
qyl27 commented 1 week ago

It will happen when the aw includes a line about forge or neoforge, it can be reproduced in loom 1.7 and any Minecraft version.

And works well in loom 1.6.