-
Notifications
You must be signed in to change notification settings - Fork 50
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
1.19 Support? #99
Comments
my code: error ; ` [Lobby-1][23:57:24 ERROR]: Error occurred while enabling SimpleCloudNPC v1.0-SNAPSHOT (Is it up to date?) [Lobby-1]java.lang.NoClassDefFoundError: com/github/juliarn/npc/NPCPool [Lobby-1] at de.devsnx.simplecloudnpc.SimpleCloudNPC.loadNpcPool(SimpleCloudNPC.java:75) ~[original-simplecloudnpc-1.0-SNAPSHOT.jar:?] [Lobby-1] at de.devsnx.simplecloudnpc.SimpleCloudNPC.onEnable(SimpleCloudNPC.java:40) ~[original-simplecloudnpc-1.0-SNAPSHOT.jar:?] [Lobby-1] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] [Lobby-1] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] [Lobby-1] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:542) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] [Lobby-1] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:565) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:479) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:422) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:306) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-307] [Lobby-1] at java.lang.Thread.run(Thread.java:833) ~[?:?] [Lobby-1]Caused by: java.lang.ClassNotFoundException: com.github.juliarn.npc.NPCPool [Lobby-1] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:177) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] [Lobby-1] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:124) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] [Lobby-1] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] [Lobby-1] ... 13 more [Lobby-1][23:57:24 INFO]: [SimpleCloudNPC] Disabling SimpleCloudNPC v1.0-SNAPSHOT` |
My old class with NPC-lib-2.6 import com.github.juliarn.npclib.api.Npc; import java.util.UUID; public class SimpleNPCBuilder {
} |
v2 has no support for 1.19, use v3 instead. |
Example Code for the old NPC variable? |
@derklaro you have other examples? |
You can take a look at the cloudnet npc module. |
Testet on spigot 1.19. and Paper 1.19.2 not working
The text was updated successfully, but these errors were encountered: