Fix file not found if no mixins exist (#51)

This commit is contained in:
Vladislav Laetansky authored and GitHub committed 2022-08-14 17:44:43 +02:00
1 parent f698cd501d
commit c4bef302c3
1 file changed
+1 -1
+1 -1
View File
@@ -397,7 +397,7 @@ jar {
}
reobf {
if(usesMixins.toBoolean()) {
if(usesMixins.toBoolean() && file(mixinSrg).exists()) {
addExtraSrgFile mixinSrg
}
}