use the fallback prefix in teleport command (fixes #115)
This commit is contained in:
parent
c34c1c3cbf
commit
5c1ef46fc2
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue