Dont add loom to compileOnly config.

I dont think this has been required since MCE is a thing.
This commit is contained in:
modmuss50 2021-09-20 13:05:45 +01:00
parent 256e61ce3c
commit 1752659291

View file

@ -80,9 +80,6 @@ public class MinecraftProviderImpl extends DependencyProvider implements Minecra
versionInfo = LoomGradlePlugin.OBJECT_MAPPER.readValue(reader, MinecraftVersionMeta.class);
}
// Add Loom as an annotation processor
addDependency(getProject().files(this.getClass().getProtectionDomain().getCodeSource().getLocation()), "compileOnly");
if (offline) {
if (minecraftClientJar.exists() && minecraftServerJar.exists()) {
getProject().getLogger().debug("Found client and server jars, presuming up-to-date");