This is my code
Code:
if (cmd[0].equals("meele")) {
int cape = player.getEquipment().getItems(20771, 1);
player.getEquipment().getItems().set(Equipment.SLOT_CAPE, new Item(cape));
player.getEquipment().refresh();
player.getAppearence().generateAppearenceData();
return true;
}
This is the error then.
Code:
starting...
src\com\rs\game\player\content\Commands.java:546: error: method getItems in cla
s Equipment cannot be applied to given types;
int cape = player.getEquipment().getItems(20771, 1);
^
required: no arguments
found: int,int
reason: actual and formal argument lists differ in length
1 error
I would add a command like "meele" that add you full dharok gear or some...