Holographic Displays

Holographic Displays

3M Downloads

No API method to change the text of an existing line

Michael-Ziluck opened this issue ยท 1 comments

commented

In the actual plugin code you have the following:

hologram.getLinesUnsafe().get(index).despawn();
hologram.getLinesUnsafe().set(index, HologramDatabase.readLineFromString(line, hologram));
hologram.refreshAll();

The method getLinesUnsafe() is not exposed in the API which means that we are not able to actually change lines dynamically once a hologram is made. Is there any intention to add this feature in the future?

commented

Never mind, that is in fact a method when you check that it is a TextLine. Sorry for opening a ticket just because I can't read :)