npc-lib icon indicating copy to clipboard operation
npc-lib copied to clipboard

private final NPCPool npcPool;` - Cannot resolve symbol.

Open RDProjectOfficial opened this issue 3 years ago • 1 comments

Hi, i try to use ur library NPC-Lib and private final NPCPool npcPool;` - Cannot resolve symbol.

How i add ur library? - I downloaded sourcecode and select Project Structure >> Libraries >> Add >> Java >> Select this .rar file

Can u help me plz

RDProjectOfficial avatar Jan 24 '22 13:01 RDProjectOfficial

Hey, I would recommand to use Gradle oder Maven to integrate the library. For this you just have to add the dependency and repository (as stated in the README file) to the build script file. I'm not experienced with not using a build tool, but you would have to add the compiled jar, not just the sourcecode. It can be downloaded here: https://jitpack.io/com/github/juliarn/npc-lib/2.6-RELEASE/npc-lib-2.6-RELEASE.jar Keep in mind that you also have to compile the library into your plugin at the moment.

juliarn avatar Feb 06 '22 13:02 juliarn

Closing due to inactivity.

derklaro avatar Dec 31 '22 21:12 derklaro