Schemnodes Schematic System #93
@ -279,7 +279,7 @@ public class SchematicCommand extends SWCommand {
|
|||||||
public void schemSearch(Player player, String quarry) {
|
public void schemSearch(Player player, String quarry) {
|
||||||
SteamwarUser user = getUser(player);
|
SteamwarUser user = getUser(player);
|
||||||
List<SchematicNode> nodes = SchematicNode.filterSchems(user.getId(), node -> node.getName().contains(quarry));
|
List<SchematicNode> nodes = SchematicNode.filterSchems(user.getId(), node -> node.getName().contains(quarry));
|
||||||
player.sendMessage("§7--==( §eSchematics §8(§e" + nodes.size() + "§8) §7)==--");
|
player.sendMessage("§eSchematics §8(§e" + nodes.size() + "§8)");
|
||||||
nodes.forEach(node -> {
|
nodes.forEach(node -> {
|
||||||
String br = node.generateBreadcrumbs(user);
|
String br = node.generateBreadcrumbs(user);
|
||||||
TextComponent schematics = new TextComponent("§7" + br.replace(quarry, "§e§l" + quarry + "§7"));
|
TextComponent schematics = new TextComponent("§7" + br.replace(quarry, "§e§l" + quarry + "§7"));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren