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

Added [job] placeholder into signs

This commit is contained in:
Rukes 2017-06-27 15:23:29 +02:00
parent d9faa022e7
commit fa51bdd503

View File

@ -158,6 +158,7 @@ public class SignUtil {
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
line1 = line1.replace("[player]", PlayerName);
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
line1 = line1.replace("[job]", JobName);
sign.setLine(0, line1);
@ -165,6 +166,7 @@ public class SignUtil {
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
line1 = line1.replace("[player]", PlayerName);
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
line1 = line1.replace("[job]", JobName);
sign.setLine(1, line1);
@ -172,6 +174,7 @@ public class SignUtil {
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
line1 = line1.replace("[player]", PlayerName);
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
line1 = line1.replace("[job]", JobName);
sign.setLine(2, line1);
@ -179,6 +182,7 @@ public class SignUtil {
line1 = line1.replace("[number]", String.valueOf(one.GetNumber() + number + 1));
line1 = line1.replace("[player]", PlayerName);
line1 = line1.replace("[level]", String.valueOf(PlayerList.get(0).getLevel()));
line1 = line1.replace("[job]", JobName);
sign.setLine(3, line1);
sign.update();