Comments (8)
also just in case:
private NPCLib npcManager;
public NpcManager(CrystalQuest thePlugin) {
this.plugin = thePlugin;
this.npcManager = new NPCLib(plugin);
.....
......
}
from npclib.
Are you sure you are registering the listener class correctly?
from npclib.
yes because i use on the same class both event listeners
public NpcManager(CrystalQuest thePlugin) {
this.plugin = thePlugin;
this.npcManager = new NPCLib(plugin);
npcManager.setAutoHideDistance(30);
plugin.getServer().getPluginManager().registerEvents(this, plugin);
......
......
}
forgot to post the register event but it does happen, it has 3 eventHandlers
the joinEvent on login, the interaction of NPCLib and the leaveEvent on dc.
all work beside the NPCInteractEvent .
from npclib.
Can you post your startup-log? I'd like to know if the netty channel duplex is registered correctly.
from npclib.
[12:45:45 INFO]: Starting minecraft server version 1.14.4
[12:45:45 INFO]: Loading properties
[12:45:45 INFO]: This server is running Paper version git-Paper-226 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
[12:45:55 WARN]: Plugin NPCLibPlugin v2.3.1-SNAPSHOT does not specify an api-version.
[12:46:00 INFO]: [NPCLibPlugin] Loading NPCLibPlugin v2.3.1-SNAPSHOT
[12:46:09 INFO]: [NPCLibPlugin] Enabling NPCLibPlugin v2.3.1-SNAPSHOT*
[12:46:09 INFO]: [NPCLibPlugin] NPCLib classes loaded
[12:46:35 INFO]: NPCLib Attempting to inject into netty
[12:46:35 INFO]: NPCLib Enabled for Minecraft v1_14_R1
any chance it has anything to do with protocollib ?
i saw NPCLib use tinyProtocol - soo there shouldn't be any conflict.
from npclib.
any updates?
from npclib.
Are you still having the same problem?
If so, can you try to run your plugin on a separate (new) server with only the (on NPCLib depending) plugin?
from npclib.
it worked, also i located the plugin that break it.
its LibsDisguises
here is there spigotpage:
https://www.spigotmc.org/resources/libs-disguises.32453/
and the github:
https://github.com/libraryaddict/LibsDisguises/
from npclib.
Related Issues (20)
- Lib fails to initiate ("v1_12_R1 is not supported") HOT 2
- Distant NPCs don't spawn when getting closer with ViaVersion HOT 2
- Custom AI for NPC?
- 1_16_R3 incompatible HOT 5
- HEX colors HOT 1
- NPC Movement HOT 2
- 1.17 support
- The NPC isn't configured to use skin overlays HOT 2
- Nullpointer when creating NPC HOT 1
- Replace Skin id by Skin uuid HOT 1
- discord for the people (link inside)
- Could not resolve dependencies
- Failed load the plugin HOT 1
- Fix NPC not fully loading if constructed when no players are online HOT 1
- Cannot invoke "net.jitse.npclib.api.NPC.setLocation()" because "npc" is null HOT 6
- NPC Rejoin Disappearance
- NPC save system HOT 2
- Exception in thread "pool-14-thread-2" java.lang.NullPointerException: "this.npcLib" is null" HOT 2
- Wrong README info HOT 1
- An opinion on skin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npclib.