From a453d96f8691a3b90c19bf9e8617409d6867632a Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 14 Jul 2016 16:16:50 +0200 Subject: [PATCH] Fixed holograms not being shown on some chests --- .../epiceric/shopchest/listeners/HologramUpdateListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShopChest/src/main/java/de/epiceric/shopchest/listeners/HologramUpdateListener.java b/ShopChest/src/main/java/de/epiceric/shopchest/listeners/HologramUpdateListener.java index e9f79b4..3025627 100644 --- a/ShopChest/src/main/java/de/epiceric/shopchest/listeners/HologramUpdateListener.java +++ b/ShopChest/src/main/java/de/epiceric/shopchest/listeners/HologramUpdateListener.java @@ -28,10 +28,10 @@ public class HologramUpdateListener implements Listener { if (b.getType() != Material.CHEST && b.getType() != Material.TRAPPED_CHEST) { 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();