Dieser Commit ist enthalten in:
Ursprung
d8d5d150d2
Commit
0a2760efbd
@ -316,10 +316,11 @@ public class SchematicCommand extends SWCommand {
|
||||
player.sendMessage("§eSchematics §8(§e" + nodes.size() + "§8)");
|
||||
nodes.forEach(node -> {
|
||||
String br = node.generateBreadcrumbs(user);
|
||||
String displayName = br;
|
||||
for (String s : nameList) {
|
||||
br = br.replace(s, "§e§l" + s + "§8");
|
||||
displayName = displayName.replace(s, "§e§l" + s + "§8");
|
||||
}
|
||||
TextComponent schematics = new TextComponent("§7" + br);
|
||||
TextComponent schematics = new TextComponent("§7" + displayName);
|
||||
schematics.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§eSchematic verwalten").create()));
|
||||
schematics.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/schem info " + br));
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren