Skip to content

Commit 4e2ea67

Browse files
authored
fix: update error message of /p remove <player> if player does not need to be removed (#4592)
1 parent f533e19 commit 4e2ea67

File tree

1 file changed

+2
-2
lines changed
  • Core/src/main/java/com/plotsquared/core/command

1 file changed

+2
-2
lines changed

Core/src/main/java/com/plotsquared/core/command/Remove.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public boolean onCommand(PlotPlayer<?> player, String[] args) {
117117
}
118118
if (count == 0) {
119119
player.sendMessage(
120-
TranslatableCaption.of("errors.invalid_player"),
121-
TagResolver.resolver("value", Tag.inserting(Component.text(args[0])))
120+
TranslatableCaption.of("member.player_not_removed"),
121+
TagResolver.resolver("player", Tag.inserting(Component.text(args[0])))
122122
);
123123
} else {
124124
player.sendMessage(

0 commit comments

Comments
 (0)