Show clans server name but don't allow teleport
This commit is contained in:
parent
16b187d41a
commit
75a19de53c
@ -692,7 +692,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
|
|||||||
|
|
||||||
if (online)
|
if (online)
|
||||||
{
|
{
|
||||||
if (canJoin)
|
if (canJoin || clans)
|
||||||
{
|
{
|
||||||
TextComponent server = new TextComponent(friend.ServerName);
|
TextComponent server = new TextComponent(friend.ServerName);
|
||||||
server.setColor(ChatColor.DARK_GREEN);
|
server.setColor(ChatColor.DARK_GREEN);
|
||||||
@ -708,7 +708,7 @@ public class FriendManager extends MiniDbClientPlugin<List<FriendStatus>>
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TextComponent server = new TextComponent(clans ? "Clans" : "Private Staff Server");
|
TextComponent server = new TextComponent("Private Staff Server");
|
||||||
server.setColor(ChatColor.YELLOW);
|
server.setColor(ChatColor.YELLOW);
|
||||||
message.addExtra(server);
|
message.addExtra(server);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user