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
211 stars 101 forks source link

Error throwing on 1.21.1 #254

Closed JHarris12345 closed 2 weeks ago

JHarris12345 commented 3 weeks ago

Just making sure

Reproduction

Im not sure how to replicate it throwing but I see this spam a lot:

[00:26:07 ERROR]: [DecentHolograms] An exception occurred while retrieving skull texture java.lang.ClassCastException: class net.minecraft.world.item.component.ResolvableProfile cannot be cast to class com.mojang.authlib.GameProfile (net.minecraft.world.item.component.ResolvableProfile and com.mojang.authlib.GameProfile are in unnamed module of loader java.net.URLClassLoader @28ba21f3) at DecentHolograms-2.8.11.jar/eu.decentsoftware.holograms.api.utils.items.SkullUtils.getSkullTexture(SkullUtils.java:67) ~[DecentHolograms-2.8.11.jar:?] at DecentHolograms-2.8.11.jar/eu.decentsoftware.holograms.api.utils.items.ItemBuilder.getSkullTexture(ItemBuilder.java:313) ~[DecentHolograms-2.8.11.jar:?] at DecentHolograms-2.8.11.jar/eu.decentsoftware.holograms.api.utils.items.HologramItem.fromItemStack(HologramItem.java:206) ~[DecentHolograms-2.8.11.jar:?] at DecentHolograms-2.8.11.jar/eu.decentsoftware.holograms.api.DHAPI.addHologramLine(DHAPI.java:353) ~[DecentHolograms-2.8.11.jar:?] at InsanityCrates-1.0.jar/me.jharris.insanitycrates.holograms.DecentHologramsHologram.appendItemLine(DecentHologramsHologram.java:105) ~[InsanityCrates-1.0.jar:?] at InsanityCrates-1.0.jar/me.jharris.insanitycrates.tasks.PrizeHologramAnimation.createHologram(PrizeHologramAnimation.java:128) ~[InsanityCrates-1.0.jar:?] at InsanityCrates-1.0.jar/me.jharris.insanitycrates.tasks.PrizeHologramAnimation.run(PrizeHologramAnimation.java:96) ~[InsanityCrates-1.0.jar:?] at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1746) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1618) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1318) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[axolotl-1.21.1.jar:1.21.1-DEV-164e116] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Solution

No response

Server Version

1.21.1

Client Version

Not sure if it happens to all

Plugin Version

2.8.11

Log

N/A

Andre601 commented 3 weeks ago

Duplicate of #248

Please check existing issues before making one (And close this one please).