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