Show clans server name but don't allow teleport

This commit is contained in:
Sam 2018-08-21 23:57:11 +01:00 committed by Alexander Meech
parent 16b187d41a
commit 75a19de53c
1 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
if (online)
{
if (canJoin)
if (canJoin || clans)
{
TextComponent server = new TextComponent(friend.ServerName);
server.setColor(ChatColor.DARK_GREEN);
@ -708,7 +708,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
}
else
{
TextComponent server = new TextComponent(clans ? "Clans" : "Private Staff Server");
TextComponent server = new TextComponent("Private Staff Server");
server.setColor(ChatColor.YELLOW);
message.addExtra(server);
}