parent
022ad810da
commit
338e0a909e
|
@ -58,6 +58,11 @@ public class PortalCommand implements CommandExecutor {
|
||||||
message.append("\n" + ChatColor.GREEN + "Location in the " + worldStr + ": " + newX + ", " + y + ", " + newZ);
|
message.append("\n" + ChatColor.GREEN + "Location in the " + worldStr + ": " + newX + ", " + y + ", " + newZ);
|
||||||
EtzTechUtil.sms(commandSender, message.toString());
|
EtzTechUtil.sms(commandSender, message.toString());
|
||||||
|
|
||||||
|
// Send link to image for setting up nether portal
|
||||||
|
TextComponent link = new TextComponent(ChatColor.GREEN + "Click here for directions on how to set up a nether portal.");
|
||||||
|
link.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://i.imgur.com/tQCbI0C.png"));
|
||||||
|
commandSender.spigot().sendMessage(link);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue