Fixed player-not-cooped message key (#1251)

This commit is contained in:
Nassim 2020-03-30 15:26:09 +02:00 committed by GitHub
parent 1a173818a1
commit 3125885bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ public class IslandTeamUncoopCommand extends CompositeCommand {
User target = User.getInstance(targetUUID);
int rank = getIslands().getIsland(getWorld(), user).getRank(target);
if (rank != RanksManager.COOP_RANK) {
user.sendMessage("commands.island.team.uncoop.player-not-coop");
user.sendMessage("commands.island.team.uncoop.player-not-cooped");
return false;
}
Island island = getIslands().getIsland(getWorld(), user.getUniqueId());