From 7924fbae620fa18093a275572eba3bfaa82c3f94 Mon Sep 17 00:00:00 2001 From: Pyrbu Date: Fri, 26 May 2023 11:17:47 +0100 Subject: [PATCH] remove first line of hologram from list command because it makes no sense --- .../src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java b/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java index a00cd74..ea750e5 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java @@ -29,9 +29,6 @@ public class ListCommand implements CommandHandler { .append(Component.text("Type: ", NamedTextColor.GREEN)) .append(Component.text(npc.getType().getName(), NamedTextColor.GREEN)) .append(Component.text(" | ", NamedTextColor.GRAY)) - .append(Component.text("Name: ", NamedTextColor.GREEN)) - .append(npc.getHologram().getLineComponent(0).color(NamedTextColor.GREEN)) - .append(Component.text(" | ", NamedTextColor.GRAY)) .append(Component.text("Location: " + npc.getWorldName() + " X:" + location.getBlockX() + " Y:" + location.getBlockY() + " Z:" + location.getBlockZ(), NamedTextColor.GREEN)) .append(Component.text(" | ", NamedTextColor.GRAY)) .append(Component.text("[TELEPORT]", NamedTextColor.DARK_GREEN).clickEvent(ClickEvent.runCommand("/npc teleport " + id)))