diff options
Diffstat (limited to 'src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt')
-rw-r--r-- | src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt index c1cdf0f..8573560 100644 --- a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt +++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt @@ -18,9 +18,8 @@ internal class PsiPattern( val matcher = Matcher(element) if (matcher.match(pattern)) { result.add(matcher) - } else { - super.visitElement(element) } + super.visitElement(element) } }) } |