}
return -1;
}
public int[] getEquipment() {
final RSPlayerComposite comp = p.get().getComposite();
if (comp != null) {
final int[] equip = comp.getEquipment();
for (int i = 0; i < equip.length; i++) {
equip[i] = equip[i] - EQUIPMENT_CONSTANT;
if (equip[i] < 0 || equip[i] > 1000000000) {
equip[i] = -1;
}