mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
change message of /p remove <player>
if player does not need to be removed (#3734)
refactor: change message of `/p remove <player>` if unnecessary
This commit is contained in:
parent
87f89541b5
commit
276d8f8e1e
@ -115,8 +115,8 @@ public class Remove extends SubCommand {
|
|||||||
}
|
}
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
TranslatableCaption.of("errors.invalid_player"),
|
TranslatableCaption.of("member.player_not_removed"),
|
||||||
Template.of("value", args[0])
|
Template.of("player", args[0])
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
|
@ -414,6 +414,7 @@
|
|||||||
"kick.you_got_kicked": "<prefix><dark_aqua>You got kicked from the plot!</dark_aqua>",
|
"kick.you_got_kicked": "<prefix><dark_aqua>You got kicked from the plot!</dark_aqua>",
|
||||||
"trusted.trusted_added": "<prefix><dark_aqua>You successfully trusted a user to the plot.</dark_aqua>",
|
"trusted.trusted_added": "<prefix><dark_aqua>You successfully trusted a user to the plot.</dark_aqua>",
|
||||||
"trusted.plot_removed_user": "<prefix><red>Plot <plot> of which you were added to has been deleted due to owner inactivity.</red>",
|
"trusted.plot_removed_user": "<prefix><red>Plot <plot> of which you were added to has been deleted due to owner inactivity.</red>",
|
||||||
|
"member.player_not_removed": "<prefix><gray><player></gray><red> is neither added, trusted or denied on the plot, thus doesn't need to be removed.</red>",
|
||||||
"member.removed_players": "<prefix><gray>Removed <amount> player(s) from this plot.</gray>",
|
"member.removed_players": "<prefix><gray>Removed <amount> player(s) from this plot.</gray>",
|
||||||
"member.plot_left": "<prefix><gray><player> left the plot.</gray>",
|
"member.plot_left": "<prefix><gray><player> left the plot.</gray>",
|
||||||
"member.plot_cant_leave_owner": "<prefix><red>You are the plot owner. You cannot leave this plot.</red>",
|
"member.plot_cant_leave_owner": "<prefix><red>You are the plot owner. You cannot leave this plot.</red>",
|
||||||
|
Loading…
Reference in New Issue
Block a user