mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 12:09:49 +00:00
no more available methods
This commit is contained in:
1 parent
af234b71d3
commit
60f7b02913
1 file changed
-14
@@ -7,7 +7,6 @@
|
||||
package stanhebben.zenscript.util;
|
||||
|
||||
import stanhebben.zenscript.expression.Expression;
|
||||
import stanhebben.zenscript.type.ZenType;
|
||||
import stanhebben.zenscript.type.natives.IJavaMethod;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -77,19 +76,6 @@ public class StringUtil {
|
||||
message.append(value.getType().toString());
|
||||
}
|
||||
message.append(")");
|
||||
message.append("\nAvailable methods:\n");
|
||||
methods.forEach(me -> {
|
||||
boolean firstVal = true;
|
||||
for (ZenType type : me.getParameterTypes()) {
|
||||
if (firstVal) {
|
||||
firstVal = false;
|
||||
} else {
|
||||
message.append(", ");
|
||||
}
|
||||
message.append(type.getName().substring(type.getName().lastIndexOf(".")+1));
|
||||
}
|
||||
message.append("\n");
|
||||
});
|
||||
return message.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user