[X] I'm using the latest version of Lunar Client. (Relaunched in the last hour)
[X] I'm running Apollo on ONLY the backend server OR the proxy. (YOU CANNOT RUN IT ON BOTH)
[X] I do NOT have both Apollo and the LEGACY API installed on the same server. (YOU CANNOT RUN BOTH AT THE SAME TIME)
[X] I've gathered all screenshots, logs and appropriate information related to creating a bug report.
Issue Description
Basically when it comes to putting a custom color in the bossbar mod it doesn't work, I have tried multiple colors, and without or with # at this moment I am trying with color (#FFFFAA00)
[19:45:47 WARN]: [Library] Task #63 for Library v2024.18.2 generated an exception
java.lang.RuntimeException: Unable to wrap value of type 'Color'!
at com.lunarclient.apollo.option.OptionsImpl.wrapValue(OptionsImpl.java:277) ~[?:?]
at com.lunarclient.apollo.option.OptionsImpl.postPacket(OptionsImpl.java:338) ~[?:?]
at com.lunarclient.apollo.option.OptionsImpl.set(OptionsImpl.java:140) ~[?:?]
at net.midesprojects.library.bossbar.BossBarHandler.create(BossBarHandler.kt:29) ~[?:?]
at net.midesprojects.library.bossbar.listener.BossBarListener$onPlayerJoin$1.run(BossBarListener.kt:25) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:67) ~[spigot.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:355) [spigot.jar:?]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:889) [spigot.jar:?]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:377) [spigot.jar:?]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:808) [spigot.jar:?]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:702) [spigot.jar:?]
at java.base/java.lang.Thread.run(Thread.java:829) [?:?]
Reproduction steps
1. It happens every time you enter, but it's only with the color.
Code Snippet (If applicable, if not write N/A)
thats my create bossbar method
fun create(player: Player): BossBar {
![Basically it looks like this is the latest version of Apollo.](https://gyazo.com/3cc5221676150975741fb92385824121)
![There you can see that the other part of the code does work.](https://gyazo.com/424c216c2f5441b3e34035db65187948)
Checklist before creating an issue:
Issue Description
Basically when it comes to putting a custom color in the bossbar mod it doesn't work, I have tried multiple colors, and without or with # at this moment I am trying with color (#FFFFAA00)
[19:45:47 WARN]: [Library] Task #63 for Library v2024.18.2 generated an exception java.lang.RuntimeException: Unable to wrap value of type 'Color'! at com.lunarclient.apollo.option.OptionsImpl.wrapValue(OptionsImpl.java:277) ~[?:?] at com.lunarclient.apollo.option.OptionsImpl.postPacket(OptionsImpl.java:338) ~[?:?] at com.lunarclient.apollo.option.OptionsImpl.set(OptionsImpl.java:140) ~[?:?] at net.midesprojects.library.bossbar.BossBarHandler.create(BossBarHandler.kt:29) ~[?:?] at net.midesprojects.library.bossbar.listener.BossBarListener$onPlayerJoin$1.run(BossBarListener.kt:25) ~[?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:67) ~[spigot.jar:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:355) [spigot.jar:?] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:889) [spigot.jar:?] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:377) [spigot.jar:?] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:808) [spigot.jar:?] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:702) [spigot.jar:?] at java.base/java.lang.Thread.run(Thread.java:829) [?:?]
Reproduction steps
Code Snippet (If applicable, if not write N/A)
thats my create bossbar method fun create(player: Player): BossBar {
Versions
1.8
Platforms
Spigot / Bukkit
Server Version
1.8
Modules
Optifine
Screenshots
Contact Information
Additional Context (Examples, Links, ETC)
No response