mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Fix plot set values
This commit is contained in:
parent
5841817fb5
commit
e46b38b301
@ -180,7 +180,7 @@ public class Set extends SubCommand {
|
|||||||
if (plot != null) {
|
if (plot != null) {
|
||||||
newValues.addAll(Arrays.asList(plot.getManager().getPlotComponents(plot.getId())));
|
newValues.addAll(Arrays.asList(plot.getManager().getPlotComponents(plot.getId())));
|
||||||
}
|
}
|
||||||
player.sendMessage(StaticCaption.of(TranslatableCaption.of("commandconfig.subcommand_set_options_header").getComponent(player) + StringMan
|
player.sendMessage(StaticCaption.of(TranslatableCaption.of("commandconfig.subcommand_set_options_header_only").getComponent(player) + StringMan
|
||||||
.join(newValues, TranslatableCaption.of("blocklist.block_list_separator").getComponent(player))));
|
.join(newValues, TranslatableCaption.of("blocklist.block_list_separator").getComponent(player))));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -220,6 +220,7 @@
|
|||||||
"commandconfig.not_valid_subcommand": "<prefix><gray>That is not a valid subcommand.</gray>",
|
"commandconfig.not_valid_subcommand": "<prefix><gray>That is not a valid subcommand.</gray>",
|
||||||
"commandconfig.did_you_mean": "<prefix><gray>Did you mean: <gold><value></gold></gray>",
|
"commandconfig.did_you_mean": "<prefix><gray>Did you mean: <gold><value></gold></gray>",
|
||||||
"commandconfig.subcommand_set_options_header": "<prefix><gray>Possible Values: <values>",
|
"commandconfig.subcommand_set_options_header": "<prefix><gray>Possible Values: <values>",
|
||||||
|
"commandconfig.subcommand_set_options_header_only": "<prefix><gray>Possible Values: ",
|
||||||
"commandconfig.command_syntax": "<prefix><gold>Usage: </gold><gray><value></gray>",
|
"commandconfig.command_syntax": "<prefix><gold>Usage: </gold><gray><value></gray>",
|
||||||
"commandconfig.command_syntax_extended": "<prefix><gold>Usage: </gold><gray><value1> <value2></gray>",
|
"commandconfig.command_syntax_extended": "<prefix><gold>Usage: </gold><gray><value1> <value2></gray>",
|
||||||
"commandconfig.flag_tutorial_usage": "<prefix><gold>Have an admin set the flag: </gold><gray><flag></gray>",
|
"commandconfig.flag_tutorial_usage": "<prefix><gold>Have an admin set the flag: </gold><gray><flag></gray>",
|
||||||
|
Loading…
Reference in New Issue
Block a user