Holographic Displays

Holographic Displays

3M Downloads

I can't use the HologramAPI.

Sandro642 opened this issue ยท 1 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

image

How to reproduce

Player player = event.getPlayer();
Location location = player.getLocation();
Vector direction = location.getDirection();
direction.multiply(2);
location.add(direction).add(0, 2, 0);

    HolographicDisplaysAPI api = HolographicDisplaysAPI.get(plugin);
    Hologram hologram = api.createHologram(plugin, location);

Server version

Spigot 1.16.5

Holographic Displays version

holographicdisplays-api-3.0.0-20221009.143217-57

Installed plugins that allow players to join with multiple Minecraft versions

ViaVersion, ViaBackward, ViaRewind

Additional information

No response

commented

Well, as your IDE says, that method doesn't exist (to be more specific, it exists but it has different parameters).