Fixed holograms not being shown on some chests

This commit is contained in:
Eric 2016-07-14 16:16:50 +02:00
parent e2828aaae8
commit a453d96f86

View File

@ -28,10 +28,10 @@ public class HologramUpdateListener implements Listener {
if (b.getType() != Material.CHEST && b.getType() != Material.TRAPPED_CHEST) { if (b.getType() != Material.CHEST && b.getType() != Material.TRAPPED_CHEST) {
plugin.getShopUtils().removeShop(shop, plugin.getShopChestConfig().remove_shop_on_error); plugin.getShopUtils().removeShop(shop, plugin.getShopChestConfig().remove_shop_on_error);
return; continue;
} }
if (shop.getHologram() == null) return; if (shop.getHologram() == null) continue;
Location shopLocation = shop.getLocation(); Location shopLocation = shop.getLocation();