Corrects message string for demote command (#835)

Mistake from #834
This commit is contained in:
wellnesscookie 2019-07-11 18:10:49 +02:00 committed by Florian CUNY
parent dd0396161e
commit bdff4a7a50

View File

@ -54,7 +54,7 @@ public class IslandTeamPromoteCommand extends CompositeCommand {
}
// Check if the user is not trying to promote/ demote himself
if (target == user) {
user.sendMessage("demote.errors.cant-demote-yourself");
user.sendMessage("commands.island.team.demote.errors.cant-demote-yourself");
return true;
}
if (!inTeam(getWorld(), target) || !getOwner(getWorld(), user).equals(getOwner(getWorld(), target))) {