mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-30 16:53:43 +01:00 
			
		
		
		
	Fixing another disarm bug (thanks bm01)
This commit is contained in:
		| @@ -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) | ||||||
| 			{ | 			{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50