minecraft-dev / MinecraftDev

Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
https://minecraftdev.org/
GNU Lesser General Public License v3.0
1.52k stars 186 forks source link

`psiElement` is not instance of `requiredClass` exception #2399

Open rlnt opened 9 hours ago

rlnt commented 9 hours ago

Minecraft Development for IntelliJ plugin version

2024.3-1.8.2

IntelliJ version

Ultimate 2024.3 Build 243.21565.193

Operating System

Windows 11 Pro 23H2 Build 22631.4169

Target platform

NeoForge

Description of the bug

When opening a work-in-progress file, the plugin throws the following exception. https://pastebin.com/rWZSuxjX

The class looks like this: https://pastebin.com/8xkrab86

It's a NeoForge project set up with ModDevGradle.