Minor formatting change

This commit is contained in:
fullwall 2023-02-23 23:58:23 +08:00
parent 63f1013d46
commit 960e1036b4
2 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ public class Settings {
SAVE_TASK_DELAY("storage.save-task.delay", 20 * 60 * 60),
SCOREBOARD_SEND_TICKS("npc.scoreboard-teams.packet-send-ticks", 1),
SELECTION_ITEM("npc.selection.item", "stick"),
SELECTION_MESSAGE("npc.selection.message", "Selected [[<npc>]] (ID <id>)."),
SELECTION_MESSAGE("npc.selection.message", "Selected [[<npc>]] (ID [[<id>]])."),
SERVER_OWNS_NPCS("npc.server-ownership", false),
STORAGE_FILE("storage.file", "saves.yml"),
STORAGE_TYPE("storage.type", "yaml"),

View File

@ -2,7 +2,7 @@ package net.citizensnpcs.util;
public class StringHelper {
public static String wrap(Object string) {
return "[[" + string.toString() + "]]";
return "<yellow>" + string.toString() + "</yellow>";
}
public static String wrap(Object string, String colour) {
@ -10,6 +10,6 @@ public class StringHelper {
}
public static String wrapHeader(Object string) {
return "[[=====[ ]]" + string.toString() + "[[ ]=====";
return "<yellow>=====[ </yellow>" + string.toString() + "<yellow> ]=====";
}
}