Hide vendor and in-stock in info message if Admin Shop

This commit is contained in:
Eric 2016-06-08 16:08:49 +02:00
parent f155b67f4c
commit 18457357ba

View File

@ -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);