mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-03-04 00:59:43 +01:00
fix: update error message of /p remove <player>
if player does not need to be removed (#4592)
This commit is contained in:
parent
f533e194f4
commit
4e2ea67992
@ -117,8 +117,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"),
|
||||||
TagResolver.resolver("value", Tag.inserting(Component.text(args[0])))
|
TagResolver.resolver("player", Tag.inserting(Component.text(args[0])))
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user