holograms needs to "spawn" lines if they're hidden

This commit is contained in:
jascotty2 2019-09-10 09:06:01 -05:00
parent 9dc1e8bb88
commit 721ad26106

View File

@ -70,6 +70,7 @@ public class HologramsHolograms extends Holograms {
location = fixLocation(location);
Hologram hologram = hologramPlugin.getHologramManager().getHologram(locStr(location));
if (hologram != null) {
hologram.spawn();
// only update if there is a change to the text
boolean isChanged = lines.size() != hologram.getLines().size();
if(!isChanged) {