mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
Fixed hoverinfo not showing on JS method declarations
This commit is contained in:
1 parent
33442f9398
commit
ce3700b820
1 file changed
+1
-1
@@ -2465,7 +2465,7 @@ public class ScriptDocument {
|
||||
int methodDeclStart = m.start();
|
||||
MethodInfo methodInfo = null;
|
||||
for (MethodInfo method : getAllMethods()) {
|
||||
if (method.getDeclarationOffset() == methodDeclStart) {
|
||||
if (method.getFullDeclarationOffset() == methodDeclStart) {
|
||||
methodInfo = method;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user