1
0
mirror of https://github.com/amalthea-mc/ShopChest.git synced 2025-03-11 23:44:10 +00:00

Fixed NPE on hologram updating

Fixes 
This commit is contained in:
Eric 2017-01-13 14:11:10 +01:00
parent 75ffa46d9d
commit f0a0d760a0

@ -259,7 +259,7 @@ public class ShopUtils {
}
}
} else {
if (shop.getHologram().isVisible(player)) shop.getHologram().hidePlayer(player);
if (shop.getHologram() != null && shop.getHologram().isVisible(player)) shop.getHologram().hidePlayer(player);
}
if (distSqr <= itemDistSqr) {