DecentSoftware-eu / DecentHolograms

A lightweight but powerful hologram plugin with many features and configuration options.
https://www.spigotmc.org/resources/96927/
GNU General Public License v3.0
203 stars 96 forks source link

Failed to add Head to Hologram 1.20.4 #192

Closed JanReich closed 4 months ago

JanReich commented 7 months ago

Just making sure

Reproduction

  1. Install DecentHolograms...
  2. Create New Hologram
  3. Add A line with an Playerhead (Work in previous Versions, but after we updatet decentholograms and the server to 1.20.4 when get the Error (look at pastebin)

Sourcecode where we use the Decenthologram API: https://pastebin.com/46Kt7DPC The resulting error: https://pastebin.com/wLTuALRt

It would be realy nice if you could manage to fix this issue.

Solution

Caused by: java.lang.NoSuchMethodError: 'java.lang.String com.mojang.authlib.properties.Property.getValue()'

It looks like the method dosent exists in 1.20.4 anymore

Server Version

1.20.4

Client Version

1.20.4

Plugin Version

2.8.6

Log

https://pastebin.com/wLTuALRt

Andre601 commented 7 months ago

This is already fixed in the current code of DH: https://github.com/DecentSoftware-eu/DecentHolograms/blob/main/src/main/java/eu/decentsoftware/holograms/api/utils/items/SkullUtils.java#L74-L90

So it's already fixed, but just not yet released.

TabZz147 commented 6 months ago

When could you expect an update? That would be really nice <3

TabZz147 commented 5 months ago

hmm? :)

d0by1 commented 4 months ago

This fix is present in version 2.8.7, enjoy.