Minor formatting change
This commit is contained in:
parent
63f1013d46
commit
960e1036b4
|
@ -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"),
|
||||
|
|
|
@ -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> ]=====";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue