Zrips / Jobs

Jobs
Apache License 2.0
173 stars 214 forks source link

Placeholders parsing wrong for jobs boosts #1631

Open IgnisCraft opened 1 year ago

IgnisCraft commented 1 year ago

*Detailed description of the issue: Parsing %jobsr_user_job_1% returns Lumberjack, my first job. Parsing %jobsr_user_boost_Lumberjack_money% returns the proper boost amount, 7.5 (stacked with area & permission boost) Parsing %jobsr_user_boost_1_money% returns only 3.25, the amount for only the area boost. PlaceholderAPI version 2.11.3 Jobs version 5.1.3.0 CMI Lib 1.3.1.2 Server is Paper 1.19.4-R0.1-SNAPSHOT build 550

Zrips commented 1 year ago

%jobsr_user_boost_Lumberjack_money% and %jobsr_user_boost_1_money% uses same exact method, difference is in how job gets picked. While %jobsr_user_job_1% and rest of them uses same method in getting job by name or by place number, so hard to say why it would show you different values while it should not.