You missing the boolean what test, the weapon twohanded or not.
Add this to your client.java:
Code:public boolean twoHanded(int wep) { switch(wep) { case 111: case 222: case 333: //etcetc, the two handed weapons' ids return true; default: return false; } return false; }