From b3bf45846a3a8c71c7a9c526692b8346f78df0d7 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 20 Feb 2021 22:51:02 +0100 Subject: [PATCH] Fix Error in Team Invite Message --- src/de/steamwar/bungeecore/commands/TeamCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/TeamCommand.java b/src/de/steamwar/bungeecore/commands/TeamCommand.java index e28a8446..85093c4d 100644 --- a/src/de/steamwar/bungeecore/commands/TeamCommand.java +++ b/src/de/steamwar/bungeecore/commands/TeamCommand.java @@ -278,7 +278,7 @@ public class TeamCommand extends BasicCommand { Message.send("TEAM_INVITE_INVITED", player, args[1]); ProxiedPlayer p = ProxyServer.getInstance().getPlayer(target.getUuid()); if(p != null) - Message.send("TEAM_INVITE_INVITED_TARGET", player, team.getTeamColor(), team.getTeamName()); + Message.send("TEAM_INVITE_INVITED_TARGET", p, team.getTeamColor(), team.getTeamName()); } private void remove(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){