1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +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);
if (armorboost == null || !armorboost.getJobs().contains(prog))
return data;
continue;
data.add(armorboost.getBoost(this.getJobsPlayer(player).getJobProgression(prog)));
}