HolographicDisplays icon indicating copy to clipboard operation
HolographicDisplays copied to clipboard

API placeholders seems to be not working

Open GrayR0ot opened this issue 2 years ago • 1 comments

Confirmation

  • [X] I have read the FAQ.
  • [X] I have tested the latest development build of Holographic Displays and the bug is still present.
  • [X] I have updated Spigot to the latest release for my particular Minecraft version.
  • [X] I made sure the bug hasn't already been reported on the issue tracker.

Description

When i create an hologram using placeholder API:

/hd create test {papi: anarchyprison_mine_progress_7}

image

Here is what I'm having

This is working fine.

But when I create the same hologram using API:

hologram.appendTextLine("§6 › {papi: anarchyprison_mine_progress_" + mine.getId() + "}");

Here is what I'm getting:

image

How to reproduce

...

Server version

1.18.2 paper latest stable

Holographic Displays version

3.0.0-SNAPSHOT-b205

Installed plugins that allow players to join with multiple Minecraft versions

No response

Additional information

No response

GrayR0ot avatar May 24 '22 11:05 GrayR0ot

I just solved the issue, there is an setAllowPlaceholders(boolean) function that is not visible in javadoc/wiki. But it is working

GrayR0ot avatar May 24 '22 11:05 GrayR0ot

Sorry, now it should be visible.

filoghost avatar Sep 11 '22 14:09 filoghost