mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 08:25:08 +00:00
Update unfitting messages
This commit is contained in:
parent
b3e53e34b6
commit
8653b9b0a2
4 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue