Renames Portal to Stargate when displaying information about a clicked portal
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fc744b04dc
commit
9c963c9e8c
@ -314,10 +314,10 @@ public class PlayerEventListener implements Listener {
|
||||
//Display portal information as a portal without a sign does not display any
|
||||
if (portal.getOptions().hasNoSign() && !portal.getOptions().isSilent()) {
|
||||
MessageSender sender = Stargate.getMessageSender();
|
||||
sender.sendSuccessMessage(player, ChatColor.GOLD + "[PORTAL INFO]");
|
||||
sender.sendSuccessMessage(player, String.format("Portal name: %s", portal.getName()));
|
||||
sender.sendSuccessMessage(player, String.format("Portal destination: %s", portal.getDestinationName()));
|
||||
sender.sendSuccessMessage(player, String.format("Portal network: %s", portal.getNetwork()));
|
||||
sender.sendSuccessMessage(player, ChatColor.GOLD + "[STARGATE INFO]");
|
||||
sender.sendSuccessMessage(player, String.format("Stargate name: %s", portal.getName()));
|
||||
sender.sendSuccessMessage(player, String.format("Stargate destination: %s", portal.getDestinationName()));
|
||||
sender.sendSuccessMessage(player, String.format("Stargate network: %s", portal.getNetwork()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user