diff --git a/src/main/kotlin/org/vineflower/ijplugin/VineflowerDecompilerBase.kt b/src/main/kotlin/org/vineflower/ijplugin/VineflowerDecompilerBase.kt index 7f4d7c6..48d6c22 100644 --- a/src/main/kotlin/org/vineflower/ijplugin/VineflowerDecompilerBase.kt +++ b/src/main/kotlin/org/vineflower/ijplugin/VineflowerDecompilerBase.kt @@ -59,6 +59,10 @@ abstract class VineflowerDecompilerBase : ClassFileDecompilers.Full() { abstract val sourceFileType: FileType override fun accepts(file: VirtualFile): Boolean { + if (file.extension != "class") { + return false + } + val state = VineflowerState.getInstance() if (!state.enabled || state.hadError) { return false