Update unfitting messages

This commit is contained in:
NotMyFault 2019-08-15 16:37:57 +02:00
parent b3e53e34b6
commit 8653b9b0a2
4 changed files with 4 additions and 3 deletions

View file

@ -49,7 +49,7 @@ import java.util.concurrent.CompletableFuture;
continue;
}
if (plot.isOwner(uuid)) {
MainUtil.sendMessage(player, Captions.ALREADY_OWNER, MainUtil.getName(uuid));
MainUtil.sendMessage(player, Captions.ALREADY_ADDED, MainUtil.getName(uuid));
iterator.remove();
continue;
}

View file

@ -56,7 +56,7 @@ import java.util.UUID;
continue;
}
if (plot.isOwner(uuid)) {
MainUtil.sendMessage(player, Captions.ALREADY_OWNER, MainUtil.getName(uuid));
MainUtil.sendMessage(player, Captions.CANT_REMOVE_OWNER, MainUtil.getName(uuid));
return false;
}

View file

@ -52,7 +52,7 @@ import java.util.concurrent.CompletableFuture;
continue;
}
if (currentPlot.isOwner(uuid)) {
MainUtil.sendMessage(player, Captions.ALREADY_OWNER, MainUtil.getName(uuid));
MainUtil.sendMessage(player, Captions.ALREADY_ADDED, MainUtil.getName(uuid));
iterator.remove();
continue;
}

View file

@ -647,6 +647,7 @@ public enum Captions {
DENIED_NEED_ARGUMENT("$2Arguments are missing. $1/plot denied add <name> $2or $1/plot denied remove <name>", "Deny"),
WAS_NOT_DENIED("$2That player was not denied on this plot", "Deny"),
YOU_GOT_DENIED("$4You are denied from the plot you were previously on, and got teleported to spawn", "Deny"),
CANT_REMOVE_OWNER("$2You can't remove the plot owner", "Deny"),
//</editor-fold>
YOU_GOT_KICKED("$4You got kicked!", "Kick"),
//<editor-fold desc="Flag">