Fixing another disarm bug (thanks bm01)

This commit is contained in:
nossr50 2012-03-01 08:03:29 -08:00
parent fe21aa0aa9
commit e873902e1b

View File

@ -42,7 +42,7 @@ public class Unarmed {
public static void disarmProcCheck(Player attacker, Player defender) public static void disarmProcCheck(Player attacker, Player defender)
{ {
int skillLevel = Users.getProfile(attacker).getSkillLevel(SkillType.UNARMED); int skillLevel = Users.getProfile(attacker).getSkillLevel(SkillType.UNARMED);
if(attacker.getItemInHand() != null) if(defender.getItemInHand() != null)
{ {
if(skillLevel >= 1000) if(skillLevel >= 1000)
{ {