1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 23:13:48 +01:00

Fix for itembonus when you have items without bonus

This commit is contained in:
Zrips 2020-07-07 15:27:20 +03:00
parent 7f485bbbc5
commit d151fbec0f

View File

@ -910,7 +910,7 @@ public class PlayerManager {
JobItems armorboost = getJobsItemByNbt(OneArmor); JobItems armorboost = getJobsItemByNbt(OneArmor);
if (armorboost == null || !armorboost.getJobs().contains(prog)) if (armorboost == null || !armorboost.getJobs().contains(prog))
return data; continue;
data.add(armorboost.getBoost(this.getJobsPlayer(player).getJobProgression(prog))); data.add(armorboost.getBoost(this.getJobsPlayer(player).getJobProgression(prog)));
} }