Prevent crashes when the used item cannot be found on the player
* re https://github.com/SleepyTrousers/EnderIO/issues/4218
This commit is contained in:
parent
6f975cd2c2
commit
a3d75ea69e
1 changed files with 1 additions and 1 deletions
|
@ -30,6 +30,6 @@ public class PlayerUtil
|
||||||
return hand;
|
return hand;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return EnumHand.MAIN_HAND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue