mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 09:31:46 +01:00
Fixed reference "cannot-kick" showing up in IslandTeamKickCommand
This commit is contained in:
parent
80285b71df
commit
0f6852dac6
@ -58,7 +58,7 @@ public class IslandTeamKickCommand extends ConfirmableCommand {
|
||||
return false;
|
||||
}
|
||||
if (targetUUID.equals(user.getUniqueId())) {
|
||||
user.sendMessage("commands.island.kick.cannot-kick");
|
||||
user.sendMessage("commands.island.team.kick.cannot-kick");
|
||||
return false;
|
||||
}
|
||||
if (!getIslands().getMembers(getWorld(), user.getUniqueId()).contains(targetUUID)) {
|
||||
|
Loading…
Reference in New Issue
Block a user