Remove useless atsFound

This commit is contained in:
Raven Szewczyk 2023-04-24 15:34:36 +01:00
parent 2fd4c0ef1e
commit b31891a270

View file

@ -115,7 +115,6 @@ if (project.use_mixins.toBoolean()) {
if (project.use_access_transformer.toBoolean()) {
for (File at : sourceSets.getByName("main").resources.files) {
if (at.name.toLowerCase().endsWith("_at.cfg")) {
atsFound = true
tasks.deobfuscateMergedJarToSrg.accessTransformerFiles.from(at)
tasks.srgifyBinpatchedJar.accessTransformerFiles.from(at)
}