Fixes some outdated method calls because IntelliJ is kind of shit and refuses to automatically refresh dependencies
All checks were successful
KnarCraft/PlaceholderSigns/pipeline/head This commit looks good
All checks were successful
KnarCraft/PlaceholderSigns/pipeline/head This commit looks good
This commit is contained in:
parent
72beb28a5a
commit
c9304144fd
@ -98,7 +98,7 @@ public class ViewSignCommand implements TabExecutor {
|
|||||||
getSignText(back.getLines(), showRawText);
|
getSignText(back.getLines(), showRawText);
|
||||||
|
|
||||||
StringFormatter stringFormatter = PlaceholderSigns.getInstance().getStringFormatter();
|
StringFormatter stringFormatter = PlaceholderSigns.getInstance().getStringFormatter();
|
||||||
StringReplacer replacer = new StringReplacer(stringFormatter.getUnformattedColoredMessage(
|
StringReplacer replacer = new StringReplacer(stringFormatter.getUnFormattedColoredMessage(
|
||||||
PlaceholderSignMessage.SUCCESS_SIGN_CONTENTS));
|
PlaceholderSignMessage.SUCCESS_SIGN_CONTENTS));
|
||||||
replacer.add("{frontLines}", frontLines);
|
replacer.add("{frontLines}", frontLines);
|
||||||
replacer.add("{backLines}", backLines);
|
replacer.add("{backLines}", backLines);
|
||||||
@ -120,9 +120,9 @@ public class ViewSignCommand implements TabExecutor {
|
|||||||
private String getStatus(boolean isTrue) {
|
private String getStatus(boolean isTrue) {
|
||||||
StringFormatter stringFormatter = PlaceholderSigns.getInstance().getStringFormatter();
|
StringFormatter stringFormatter = PlaceholderSigns.getInstance().getStringFormatter();
|
||||||
if (isTrue) {
|
if (isTrue) {
|
||||||
return stringFormatter.getUnformattedColoredMessage(PlaceholderSignMessage.SIGN_PROPERTY_CONFIRM);
|
return stringFormatter.getUnFormattedColoredMessage(PlaceholderSignMessage.SIGN_PROPERTY_CONFIRM);
|
||||||
} else {
|
} else {
|
||||||
return stringFormatter.getUnformattedColoredMessage(PlaceholderSignMessage.SIGN_PROPERTY_DENY);
|
return stringFormatter.getUnFormattedColoredMessage(PlaceholderSignMessage.SIGN_PROPERTY_DENY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user