mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-26 04:12:22 +00:00
Fixed holograms not being shown on some chests
This commit is contained in:
parent
e2828aaae8
commit
a453d96f86
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user