Hello, I am trying to make the sell functions check if enhancement is more than 1, then it will skip the items.
What i have done is.
then added
No compile errors but I am getting errors from bat.
I been trying to figure it out but no luck...
What i have done is.
Code:
public int sellAllItemsFromName(byte invTypeId, String name,Item item) {
then added
Code:
Equip e = (Equip) item; if (e.vicious >= 1) { return (-1); }
No compile errors but I am getting errors from bat.
Code:
Caused by: <eval>:58 TypeError: Can not invoke method [jdk.internal.dynalink.beans.SimpleDynamicMethod int client.MapleCharacter.sellAllItemsFromName(byte,String,Item)] with the passed arguments; they do not match any of its method signatures.
I been trying to figure it out but no luck...
Last edited: