mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 01:21:47 +00:00
Hide vendor and in-stock in info message if Admin Shop
This commit is contained in:
parent
f155b67f4c
commit
18457357ba
@ -282,9 +282,9 @@ public class InteractShop implements Listener {
|
||||
}
|
||||
|
||||
executor.sendMessage(" ");
|
||||
executor.sendMessage(vendor);
|
||||
if (shop.getShopType() != ShopType.ADMIN) executor.sendMessage(vendor);
|
||||
executor.sendMessage(product);
|
||||
executor.sendMessage(stock);
|
||||
if (shop.getShopType() != ShopType.ADMIN) executor.sendMessage(stock);
|
||||
if (enchantmentString.length() > 0) executor.sendMessage(Config.shopInfo_enchantment(enchantmentString));
|
||||
if (arrowEffectString.length() > 0) executor.sendMessage(Config.shopInfo_arrowEffect(arrowEffectString));
|
||||
executor.sendMessage(price);
|
||||
|
Loading…
Reference in New Issue
Block a user