add help-msg to messages.yml

This commit is contained in:
Ryder Belserion 2024-07-23 17:20:34 -04:00
parent 80285f41d6
commit 71d08db231
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,7 @@ public enum Messages {
CRAZYAUCTIONS_VIEW("CrazyAuctions-View", "&c/ah view <player>"),
CRAZYAUCTIONS_SELL_BID("CrazyAuctions-Sell-Bid", "&c/ah sell/bid <price> [amount of items]"),
BOOK_NOT_ALLOWED("Book-Not-Allowed", "&cThat book is not able to be sold in this auction house!"),
HELP_MSG("Help-Msg", "&cPlease do /crazyauctions help for more information."),
HELP("Help-Menu", Arrays.asList(
"&e-- &6Crazy Auctions Help &e--",
"&9/Ah - &eOpens the crazy auction.",

View File

@ -385,7 +385,7 @@ public class AuctionCommand implements CommandExecutor {
}
default -> {
sender.sendMessage(Methods.getPrefix("&cPlease do /crazyauctions help for more information."));
sender.sendMessage(Messages.HELP_MSG.getMessage(sender));
return true;
}

View File

@ -35,6 +35,7 @@ Messages:
CrazyAuctions-View: '&c/ah view <player>'
CrazyAuctions-Sell-Bid: '&c/ah sell/bid <price> [amount of items]'
Book-Not-Allowed: '&cThat book is not able to be sold in this auction house!'
Help-Msg: '&cPlease do /crazyauctions help for more information.'
Help-Menu:
- '&e-- &6Crazy Auctions Help &e--'
- '&9/Ah - &eOpens the crazy auction.'