Emotecraft (Forge)

Emotecraft (Forge)

1M Downloads

How to use ServerEmoteAPI in Spigot plugins

MeexReay opened this issue · 1 comments

commented

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😭

commented

If possible, please share full logs from your testrun.

I suspect your setup is invalid.