mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 00:47:50 +00:00
Fixed declaration hover info being not rendered for resolved method calls
This commit is contained in:
1 parent
a4eb63917f
commit
6400c4a4e8
1 file changed
+1
-1
+1
-1
@@ -879,7 +879,7 @@ public class TokenHoverInfo {
|
||||
public String getIconIndicator() { return iconIndicator; }
|
||||
|
||||
public List<TextSegment> getDeclaration() {
|
||||
if (getErrors().stream().anyMatch(err -> err.contains("Cannot resolve")))
|
||||
if (getErrors().stream().anyMatch(err -> err.contains("Cannot resolve symbol")))
|
||||
return new ArrayList<>();
|
||||
return declaration;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user