Skip to content

Fix: Resolve LVTs sometimes being declared present when they are not.#2559

Merged
Earthcomputer merged 1 commit intominecraft-dev:devfrom
LlamaLad7:fix/missing-lvt-false-negative
Dec 19, 2025
Merged

Fix: Resolve LVTs sometimes being declared present when they are not.#2559
Earthcomputer merged 1 commit intominecraft-dev:devfrom
LlamaLad7:fix/missing-lvt-false-negative

Conversation

@LlamaLad7
Copy link
Contributor

This was noticeable when autocompleting Expressions.

…g edited.

`PsiFile#getVirtualFile` seems to be null in these cases, but `FileViewProvider#getVirtualFile` works correctly.
@Earthcomputer
Copy link
Member

I've got no idea why this works but I assume it does

@Earthcomputer Earthcomputer merged commit d1aa33c into minecraft-dev:dev Dec 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments