remove first line of hologram from list command because it makes no sense
This commit is contained in:
parent
facc0eb1f7
commit
7924fbae62
1 changed files with 0 additions and 3 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue