From 5c1ef46fc2f1e4221df3abb00bcdfc12f96af08a Mon Sep 17 00:00:00 2001 From: Pyrbu Date: Mon, 18 Dec 2023 16:44:33 +0100 Subject: [PATCH] use the fallback prefix in teleport command (fixes #115) --- .../src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e8bf2c6..c0571da 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/commands/ListCommand.java @@ -31,7 +31,7 @@ public class ListCommand implements CommandHandler { .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))) + .append(Component.text("[TELEPORT]", NamedTextColor.DARK_GREEN).clickEvent(ClickEvent.runCommand("/znpcsplus:npc teleport " + id))) .append(Component.text("\n", NamedTextColor.GRAY)); } context.send(component.build());