mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 21:17:32 +00:00
Checked duplicate methods for JS
This commit is contained in:
1 parent
b6d0d77445
commit
6bc932719f
1 file changed
+3
-2
@@ -795,9 +795,10 @@ public class ScriptDocument {
|
||||
methodInfo.validate(methodBodyText, hasBody, (expr, pos) -> resolveExpressionType(expr, pos));
|
||||
}
|
||||
|
||||
// Check for duplicate method declarations
|
||||
checkDuplicateMethods();
|
||||
|
||||
}
|
||||
// Check for duplicate method declarations
|
||||
checkDuplicateMethods();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user