1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 05:55:27 +01:00

Check if item in hand is not null

This commit is contained in:
Zrips 2016-08-05 13:36:30 +03:00
parent e5929191a3
commit d94e2dea58

View File

@ -638,6 +638,9 @@ public class PlayerManager {
return data;
ItemStack iih = Jobs.getNms().getItemInMainHand(player);
if (iih == null || prog == null)
return data;
BoostMultiplier itemboost = Jobs.getPlayerManager().getItemBoost(prog, iih);