Shop shop = new Shop(id, plugin, executor, product, location, buyPrice, sellPrice, shopType);
plugin.debug("Shop created (#" + id + ")");
shopUtils.addShop(shop, true);
executor.sendMessage(LanguageUtils.getMessage(LocalizedMessage.Message.SHOP_CREATED));
for (Player p : location.getWorld().getPlayers()) {
<BUG>if (p.getLocation().distanceSquared(location) <= config.maximal_distance) {
shop.getHologram().showPlayer(p);
}
if (p.getLocation().distanceSquared(location) <= config.maximal_item_distance) {
shop.getItem().setVisible(p, true);
}</BUG>
}

Shop shop = new Shop(id, plugin, executor, product, location, buyPrice, sellPrice, shopType);
plugin.debug("Shop created (#" + id + ")");
shopUtils.addShop(shop, true);
executor.sendMessage(LanguageUtils.getMessage(LocalizedMessage.Message.SHOP_CREATED));
for (Player p : location.getWorld().getPlayers()) {
if (p.getLocation().distanceSquared(location) <= config.maximal_distance) {
if (shop.getHologram() != null) {
shop.getHologram().showPlayer(p);
