Skip to content

Commit

Permalink
Minor formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Feb 23, 2023
1 parent 63f1013 commit 960e103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/src/main/java/net/citizensnpcs/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void loadFromKey(DataKey root) {
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"),
Expand Down
4 changes: 2 additions & 2 deletions main/src/main/java/net/citizensnpcs/util/StringHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

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) {
return "[[" + string.toString() + colour;
}

public static String wrapHeader(Object string) {
return "[[=====[ ]]" + string.toString() + "[[ ]=====";
return "<yellow>=====[ </yellow>" + string.toString() + "<yellow> ]=====";
}
}

0 comments on commit 960e103

Please sign in to comment.