Need a little help with a complier error
Code:
c\server\model\items\ItemAssistant.java:1530: error: 'else' without 'if'
else if (wearID == 19111) {
^
1 error
Press any key to continue . . .
This is the tiny bit of coding which is showing the error
Code:
synchronized(c) {
int targetSlot=0;
if (wearID > 15085 && wearID < 15102){
if (c.clanId >= 0){
c.useDice(wearID, true);
}else{
else if (wearID == 19111) {
targetSlot = 1;
}
c.sendMessage("You must be in a clan chat channel to do that.");
}
return false;
Any ideas or fix please let me know asap!!!!
Thanks
I've managed to sort it I think