From dc49ddff4dcb4530908d2fcc8109dacf744e6dfc Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Tue, 13 Apr 2021 07:22:57 +0200 Subject: [PATCH] Fixed team remove command --- 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 825b3b6..082496e 100644 --- a/src/de/steamwar/bungeecore/commands/TeamCommand.java +++ b/src/de/steamwar/bungeecore/commands/TeamCommand.java @@ -314,7 +314,7 @@ public class TeamCommand extends BasicCommand { return; } - if (user.isLeader()) { + if (target.isLeader() && user.isLeader()) { Message.send("TEAM_REMOVE_NOT_LEADER", player); return; }