I've examined the errors. I think I've found a solution to resolving the problem.
Try changing the the lines of code.
Code:
public void setEquipment(int wearID, int amount, int c.targetSlot) {
Change it to this.
Code:
public void setEquipment(int wearID, int c.amount, int c.targetSlot) {
Once you've done that. Take a look at this line.
Code:
public void wearItem(int wearID, int wearAmount, int c.targetSlot) {
Change it to the following.
Code:
public void wearItem(int wearID, int c.wearAmount, int c.targetSlot) {
Hope that helped.