1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 12:05:16 +01:00

Critical bug fix for fastpayment in for-loop

- Changed the navy and silver to light_blue and light_gray due to version problems, #501
This commit is contained in:
montlikadani 2019-08-12 14:04:15 +02:00
parent a569f84a73
commit 95dda60088
3 changed files with 6 additions and 5 deletions

View File

@ -1131,6 +1131,8 @@ public class Jobs extends JavaPlugin {
}
} else {
FastPayment.clear();
for (JobProgression prog : progression) {
int level = prog.getLevel();
@ -1263,7 +1265,6 @@ public class Jobs extends JavaPlugin {
else
expAmount = JobsExpGainEvent.getExp();
FastPayment.clear();
FastPayment.put(jPlayer.getPlayerUUID(), new FastPayment(jPlayer, info, new BufferedPayment(jPlayer.getPlayer(), income, pointAmount, expAmount), prog
.getJob()));

View File

@ -365,12 +365,12 @@ public class NameTranslatorManager {
c.get("ColorList.0-white", "&fWhite");
c.get("ColorList.1-orange", "&6Orange");
c.get("ColorList.2-magenta", "&dMagenta");
c.get("ColorList.3-navy", "&9Navy");
c.get("ColorList.3-light_blue", "&9Light Blue");
c.get("ColorList.4-yellow", "&eYellow");
c.get("ColorList.5-lime", "&aLime");
c.get("ColorList.6-pink", "&dPink");
c.get("ColorList.7-gray", "&8Gray");
c.get("ColorList.8-silver", "&7Silver");
c.get("ColorList.8-light_gray", "&7Light Gray");
c.get("ColorList.9-cyan", "&3Cyan");
c.get("ColorList.10-purple", "&5Purple");
c.get("ColorList.11-blue", "&1Blue");

View File

@ -347,7 +347,7 @@ Jobs:
Green:
income: 2.0
experience: 5.0
Navy:
Light_Blue:
income: 2.0
experience: 5.0
Lime:
@ -1826,7 +1826,7 @@ Jobs:
income: 4.0
points: 4.0
experience: 5.0
Navy:
Light_Blue:
income: 4.0
points: 4.0
experience: 5.0