Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use ServerEmoteAPI in Spigot plugins #363

Open
MeexReay opened this issue Mar 6, 2023 · 1 comment
Open

How to use ServerEmoteAPI in Spigot plugins #363

MeexReay opened this issue Mar 6, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@MeexReay
Copy link

MeexReay commented Mar 6, 2023

ERROR:

java.lang.NullPointerException: Cannot invoke "io.github.kosmx.emotes.api.events.server.ServerEmoteAPI.isForcedEmoteImpl(java.util.UUID)" because "io.github.kosmx.emotes.api.events.server.ServerEmoteAPI.INSTANCE" is null

pom.xml:

<repository>
    <id>maven.kosmx.dev</id>
    <url>https://maven.kosmx.dev/</url>
</repository>
<dependency>
    <groupId>io.github.kosmx.emotes</groupId>
    <artifactId>emotesServer</artifactId>
    <version>2.2.7-b.build.47</version>
</dependency>

plugin.yml:

name: MainPlugin
version: '${project.version}'
main: themixray.mainplugin.MainPlugin
api-version: 1.17
prefix: MainPlugin
authors: [ TheMixRay ]
description: just a plugin
depend: [ ProtocolLib, emotecraft ]

emotecraft plugin:
image

please help😭

@MeexReay MeexReay changed the title How to use ServerEmoteAPI How to use ServerEmoteAPI in Spigot plugins Mar 6, 2023
@KosmX KosmX added the invalid This doesn't seem right label Mar 8, 2023
@KosmX
Copy link
Owner

KosmX commented Mar 8, 2023

If possible, please share full logs from your testrun.

I suspect your setup is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants