Open ayabusa opened 2 years ago
Check if the NPC is null?
Yes he is null but I don't know why
Is your instance of the NPCLib null?
sorry for the delay in response. so no my instance is not null, thank you for your reply but I think I will give up with the library and try the official way to spawn NPC.
There is a official way to spawn NPCs? And I think I found the problem the plugin doesn't support the Server version you are using (maybe?).
so this is the "official way" (without plugin or lib) to spawn NPC : https://www.spigotmc.org/threads/how-to-create-and-modify-npcs.400753/
Hello, I'm trying to use your api on my 1.18.1 spigot server but I have an issue : When i try to setLocation() before creating my npc I get the message below in the console. I have checked my code, but cannot find what I did wrong... Any idea on how to solve it ?
thanks a bunch :)
My code :