(HologramAPI) getName() doesn't exist?
wallysaurus opened this issue ยท 1 comments
Description
I'm fairly new to the HologramAPI, so it was very surprising that there was no way to get a hologram by its name. This seems like a pretty necessary feature to have, so here's my suggestion. (Side Note, yes, I did look on the API website beforehand. If such a thing does exist, forgive me.)
How it would work:
for (Hologram holo : getHolograms(Main.get())) {
if (holo.getName().equals("HologramName")) {
Hologram selectedHolo = holo;
}
}```