mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 10:22:29 +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(" ");
|
||||||
executor.sendMessage(vendor);
|
if (shop.getShopType() != ShopType.ADMIN) executor.sendMessage(vendor);
|
||||||
executor.sendMessage(product);
|
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 (enchantmentString.length() > 0) executor.sendMessage(Config.shopInfo_enchantment(enchantmentString));
|
||||||
if (arrowEffectString.length() > 0) executor.sendMessage(Config.shopInfo_arrowEffect(arrowEffectString));
|
if (arrowEffectString.length() > 0) executor.sendMessage(Config.shopInfo_arrowEffect(arrowEffectString));
|
||||||
executor.sendMessage(price);
|
executor.sendMessage(price);
|
||||||
|
Loading…
Reference in New Issue
Block a user