mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
Used correct enum class name
This commit is contained in:
1 parent
a36cc044bd
commit
0d45d636b8
1 file changed
+1
-1
+1
-1
@@ -311,7 +311,7 @@ public class MethodCallInfo {
|
||||
// For constructors, check if the type has any constructors at all
|
||||
if (receiverType != null && receiverType.hasConstructors()) {
|
||||
setError(ErrorType.WRONG_ARG_COUNT,
|
||||
"No constructor in '" + methodName + "' matches " + arguments.size() + " argument(s)");
|
||||
"No constructor in '" + receiverType.getSimpleName() + "' matches " + arguments.size() + " argument(s)");
|
||||
} else {
|
||||
setError(ErrorType.UNRESOLVED_METHOD,
|
||||
"Cannot resolve constructor for '" + methodName + "'");
|
||||
|
||||
Reference in new issue
Block a user