java.lang.IllegalStateException: Holographic Displays did not load properly (no API implementation was set)
ABravePanda opened this issue ยท 6 comments
Confirmation
- I have read the documentation.
- I have read the FAQ.
Description
Im trying to hook into the new API however I keep getting this error. Right now im just implementing it via
this.holographicDisplaysAPI = HolographicDisplaysAPI.get(plugin);
I see this references the HolographicDisplaysAPIProverider however im not sure how to use it.
Holographic Displays version
3.0.0-SNAPSHOT
Additional information
No response
also i cant use the previous versions of the plugin as they dont support 1.18.2
Don't look at the implementation. Just store a field of type HolographicDisplaysAPI
with the API instance you get from that method.
After you get the error, are you able to use the /hd command and modify holograms normally?
Hi, I've got same problem as in topic, creating and editing hologram by /hd command works properly, I'm using 1.19.2 paper server, same thing happening on holographicdisplays 3.0.0 and 3.0.1
https://hastebin.com/ulecipiyet.sql - log
@vision419 Can't access the link
i also had this issue. it was caused by including the api in the shaded jar. by adding an exclusion i was able to get it to work fine
@Varunda thanks, that explains the error. For everyone having this problem, make sure the Maven dependency has <scope>provided</scope>