Hey guys,

I'm in a pickle here.. This uses Java. Although I've been messing around with it for about an hour or two trying to figure out how to fix this..

Here's the error code on command prompt (code may be a little messed up) :
Code:
client.java:20757: ')' expected
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                      ^
client.java:20757: not a statement
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                        ^
client.java:20757: ';' expected
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                         ^
client.java:20757: ')' expected
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                                                          ^
client.java:20757: not a statement
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                                                  ^
client.java:20757: not a statement
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                                                            ^
client.java:20757: ';' expected
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5))
{
                                                                             ^
client.java:20760: 'else' without 'if'
} else {
  ^
8 errors
You have sucsessfully compiled
Press any key to continue . . .
Here is the full code that had the errors:
Code:
case 33189:
if(playerHasItemAmount(1734, 5) && playerHasItemAmount(1741, 5) && playerLevel[12] >= 0) {
RemoveAllWindows();
deleteItem(1734, getItemSlot(1734), 5);
deleteItem(1741, getItemSlot(1741), 5);
addItem(1059, 5);
addSkillXP(135, 12);
sendMessage("You craft 5 leather gloves.");
} else if(playerHasItemAmount <= (1734, 5) && playerHasItemAmount <= (1741, 5)) {
RemoveAllWindows();
sendMessage("You need at least 5 pieces of leather and thread to craft these.");
} else {
RemoveAllWindows();
sendMessage("You don't have any leather and/or thread.");
}
break;
Can someone please help me? I try and figure stuff out on my own, but this is stumping me.. I've tried getting help from 2 different people, and they couldn't figure this out.. =/