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:
Henry Loenwind 2017-05-14 06:24:47 +02:00
parent 6f975cd2c2
commit a3d75ea69e

View file

@ -30,6 +30,6 @@ public class PlayerUtil
return hand;
}
return null;
return EnumHand.MAIN_HAND;
}
}