In itemAssistant.java find this:
Code:
public boolean wearItem(int wearID, int slot) {
Under that add this in...
Code:
switch (wearID) {
case ****:
targetSlot = 7;
break;
}
The **** is the item's ID.
- The targetSlot is the slot you want it to go in, you can find those yourself.
- For example 7 is Legs.
- Slot 4 = body.
Also you may or may not have to comment out this part I haven't tested but it should work:
Code:
/*if(itemType(wearID).equalsIgnoreCase("cape")) {
targetSlot=1;
} else if(itemType(wearID).equalsIgnoreCase("hat")) {
targetSlot=0;
} else if(itemType(wearID).equalsIgnoreCase("amulet")) {
targetSlot=2;
} else if(itemType(wearID).equalsIgnoreCase("arrows")) {
targetSlot=13;
} else if(itemType(wearID).equalsIgnoreCase("body")) {
targetSlot=4;
} else if(itemType(wearID).equalsIgnoreCase("shield")) {
targetSlot=5;
} else if(itemType(wearID).equalsIgnoreCase("legs")) {
targetSlot=7;
} else if(itemType(wearID).equalsIgnoreCase("gloves")) {
targetSlot=9;
} else if(itemType(wearID).equalsIgnoreCase("boots")) {
targetSlot=10;
} else if(itemType(wearID).equalsIgnoreCase("ring")) {
targetSlot=12;
} else {
targetSlot = 3;
}*/