From d151fbec0f65e7800ed85d73513386ab548166f6 Mon Sep 17 00:00:00 2001 From: Zrips Date: Tue, 7 Jul 2020 15:27:20 +0300 Subject: [PATCH] Fix for itembonus when you have items without bonus --- src/main/java/com/gamingmesh/jobs/PlayerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/PlayerManager.java b/src/main/java/com/gamingmesh/jobs/PlayerManager.java index b78b7c42..3370a980 100644 --- a/src/main/java/com/gamingmesh/jobs/PlayerManager.java +++ b/src/main/java/com/gamingmesh/jobs/PlayerManager.java @@ -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))); }