mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Added [job] placeholder into signs
This commit is contained in:
parent
d9faa022e7
commit
fa51bdd503
@ -158,6 +158,7 @@ public class SignUtil {
|
|||||||
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
||||||
line1 = line1.replace("[player]", PlayerName);
|
line1 = line1.replace("[player]", PlayerName);
|
||||||
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
||||||
|
line1 = line1.replace("[job]", JobName);
|
||||||
|
|
||||||
sign.setLine(0, line1);
|
sign.setLine(0, line1);
|
||||||
|
|
||||||
@ -165,6 +166,7 @@ public class SignUtil {
|
|||||||
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
||||||
line1 = line1.replace("[player]", PlayerName);
|
line1 = line1.replace("[player]", PlayerName);
|
||||||
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
||||||
|
line1 = line1.replace("[job]", JobName);
|
||||||
|
|
||||||
sign.setLine(1, line1);
|
sign.setLine(1, line1);
|
||||||
|
|
||||||
@ -172,6 +174,7 @@ public class SignUtil {
|
|||||||
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
||||||
line1 = line1.replace("[player]", PlayerName);
|
line1 = line1.replace("[player]", PlayerName);
|
||||||
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
||||||
|
line1 = line1.replace("[job]", JobName);
|
||||||
|
|
||||||
sign.setLine(2, line1);
|
sign.setLine(2, line1);
|
||||||
|
|
||||||
@ -179,6 +182,7 @@ public class SignUtil {
|
|||||||
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
|
||||||
line1 = line1.replace("[player]", PlayerName);
|
line1 = line1.replace("[player]", PlayerName);
|
||||||
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
|
||||||
|
line1 = line1.replace("[job]", JobName);
|
||||||
|
|
||||||
sign.setLine(3, line1);
|
sign.setLine(3, line1);
|
||||||
sign.update();
|
sign.update();
|
||||||
|
Loading…
Reference in New Issue
Block a user