geforkt von SteamWar/BungeeCore
Fix Team and ServerTeamchatCommand
Dieser Commit ist enthalten in:
Ursprung
a840671ced
Commit
7e9cc37e2d
@ -56,7 +56,7 @@ public class ServerTeamchatCommand extends BasicCommand {
|
||||
for (ProxiedPlayer target : ProxyServer.getInstance().getPlayers()){
|
||||
if ((target.hasPermission("bungeecore.teamchat"))
|
||||
&& target.getChatMode() == ProxiedPlayer.ChatMode.SHOWN){
|
||||
Message.send("STC_FORMAT", target, sender.getName(), message);
|
||||
Message.sendPrefixless("STC_FORMAT", target, sender.getName(), message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public class TeamchatCommand extends BasicCommand {
|
||||
SteamwarUser targetuser = SteamwarUser.get(target.getUniqueId());
|
||||
if (targetuser.getTeam() == user.getTeam()
|
||||
&& target.getChatMode() == ProxiedPlayer.ChatMode.SHOWN){
|
||||
Message.send("TC_FORMAT", target, player.getName(), msg);
|
||||
Message.sendPrefixless("TC_FORMAT", target, player.getName(), msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren