Fixed reference "cannot-kick" showing up in IslandTeamKickCommand

This commit is contained in:
Florian CUNY 2020-04-17 15:03:49 +02:00 committed by GitHub
parent 80285b71df
commit 0f6852dac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {