Holographic Displays

Holographic Displays

3M Downloads

API placeholders seems to be not working

GrayR0ot opened this issue · 2 comments

commented

Confirmation

  • I have read the FAQ.
  • I have tested the latest development build of Holographic Displays and the bug is still present.
  • I have updated Spigot to the latest release for my particular Minecraft version.
  • 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

commented

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

commented

Sorry, now it should be visible.