mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Fix for editjobs setting values to incorrect location
This commit is contained in:
parent
ee3e01ae18
commit
f7bd02aaaf
@ -20,6 +20,7 @@ import net.Zrips.CMILib.Colors.CMIChatColor;
|
||||
import net.Zrips.CMILib.Container.PageInfo;
|
||||
import net.Zrips.CMILib.Items.CMIItemStack;
|
||||
import net.Zrips.CMILib.Items.CMIMaterial;
|
||||
import net.Zrips.CMILib.Logs.CMIDebug;
|
||||
import net.Zrips.CMILib.RawMessages.RawMessage;
|
||||
import net.Zrips.CMILib.Version.Version;
|
||||
|
||||
@ -372,7 +373,7 @@ public class editjobs implements Cmd {
|
||||
int untilLevel = -1;
|
||||
|
||||
JobInfo jInfo = new JobInfo(actionT, id, meta, type + subType, income, job.getMoneyEquation(), experience, job.getXpEquation(), job.getPointsEquation(), points, fromlevel,
|
||||
untilLevel, "Jobs/" + job.getName() + "/" + actionT.getName() + "/" + (type + subType).replace(":", "-"));
|
||||
untilLevel, job.getName() + "/" + actionT.getName() + "/" + (type + subType).replace(":", "-"));
|
||||
|
||||
for (JobInfo info : job.getJobInfo(actionT)) {
|
||||
if (info.getName().equalsIgnoreCase(jInfo.getName())) {
|
||||
|
Loading…
Reference in New Issue
Block a user