mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 20:45:27 +01:00
holograms needs to "spawn" lines if they're hidden
This commit is contained in:
parent
9dc1e8bb88
commit
721ad26106
@ -70,6 +70,7 @@ public class HologramsHolograms extends Holograms {
|
|||||||
location = fixLocation(location);
|
location = fixLocation(location);
|
||||||
Hologram hologram = hologramPlugin.getHologramManager().getHologram(locStr(location));
|
Hologram hologram = hologramPlugin.getHologramManager().getHologram(locStr(location));
|
||||||
if (hologram != null) {
|
if (hologram != null) {
|
||||||
|
hologram.spawn();
|
||||||
// only update if there is a change to the text
|
// only update if there is a change to the text
|
||||||
boolean isChanged = lines.size() != hologram.getLines().size();
|
boolean isChanged = lines.size() != hologram.getLines().size();
|
||||||
if(!isChanged) {
|
if(!isChanged) {
|
||||||
|
Loading…
Reference in New Issue
Block a user