unldenis / holoeasy

a simple and modern Java and Kotlin minecraft hologram library for 1.8-1.20.4 servers.
https://unldenis.github.io/holoeasy/
GNU Lesser General Public License v3.0
86 stars 26 forks source link

Changing the text of an holo that already haves text bugs it #46

Closed Guarmanda closed 9 months ago

Guarmanda commented 9 months ago

Executing this code:

        TextLine textLine = new TextLine((Plugin)Main.getInstance(), name, null, false);
        hologram.load(textLine);

in 1.16.5 on a new hologram doesn't cause issue. Bug an hologram that already has text will bug. That being said, the hologram is correctly remove on logout/login. I chose to remove the hologram before changing its text, and it works, so I won't have this bug in other versions (sorry)

unldenis commented 9 months ago

I didn't quite understand the problem.