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:
parent
e5929191a3
commit
d94e2dea58
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user