mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 19:17:44 +01:00
Fixing another disarm bug (thanks bm01)
This commit is contained in:
parent
fe21aa0aa9
commit
e873902e1b
@ -42,7 +42,7 @@ public class Unarmed {
|
||||
public static void disarmProcCheck(Player attacker, Player defender)
|
||||
{
|
||||
int skillLevel = Users.getProfile(attacker).getSkillLevel(SkillType.UNARMED);
|
||||
if(attacker.getItemInHand() != null)
|
||||
if(defender.getItemInHand() != null)
|
||||
{
|
||||
if(skillLevel >= 1000)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user