mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-14 04:05:44 +01:00
parent
98d3f865ff
commit
77af181a79
@ -76,7 +76,7 @@ public class GUIFilterSelection extends AbstractPlaceholderGui {
|
||||
setButton(1, 5, ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_FILTER_ITEMS_SEARCH_ITEM.getString(), Settings.GUI_FILTER_ITEMS_SEARCH_NAME.getString(), Settings.GUI_FILTER_ITEMS_SEARCH_LORE.getStringList(), new HashMap<String, Object>() {{
|
||||
put("%filter_search_phrase%", auctionPlayer.getCurrentSearchPhrase());
|
||||
}}), e -> {
|
||||
if (e.player.hasPermission("auctionhouse.cmd.search")) {
|
||||
if (!e.player.hasPermission("auctionhouse.cmd.search")) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("commands.no_permission").sendPrefixedMessage(e.player);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user