Merge pull request #1018 from HenryLoenwind/crash4218-1.11
Prevent crashes when the used item cannot be found on the player
This commit is contained in:
commit
840ac96179
1 changed files with 1 additions and 1 deletions
|
@ -30,6 +30,6 @@ public class PlayerUtil
|
|||
return hand;
|
||||
}
|
||||
|
||||
return null;
|
||||
return EnumHand.MAIN_HAND;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue