mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +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);
|
||||
|
||||
if (armorboost == null || !armorboost.getJobs().contains(prog))
|
||||
return data;
|
||||
continue;
|
||||
|
||||
data.add(armorboost.getBoost(this.getJobsPlayer(player).getJobProgression(prog)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user