the drop method is being called after the npc has nulled out(removed from server)
|
|
Hey everyone, with the beta-opening of my server, everyone has noticed they aren't getting any good drops that I put in there. So, I open my server.bat and see that it says this:
A lot. The monsters drop the bones and coins like it is supposed to, I'm pretty sure it isn't because I am missing a parameter, because there is a different error for that.Code:Exception dropping item: java.lang.NullPointerException
If anyone has any ideas please post here!
Thanks you,
Brandon
---------- Post added at 03:35 AM ---------- Previous post was at 03:34 AM ----------
Could it be from too many drop? I only have like 4-5 drops on each NPC so I don't think so...

the drop method is being called after the npc has nulled out(removed from server)
Ok, thanks I will fix that real quick (hopefully)
Regards,
Brandon
---------- Post added at 04:03 AM ---------- Previous post was at 04:02 AM ----------
Why do they still drop bones and coins?
---------- Post added at 04:04 AM ---------- Previous post was at 04:03 AM ----------
It is all in the npcdrops.cfg

no what im saying is the npc dies, and when it dies it drops the items but it is being repetively called after it is removed from the server
just wondering how you fixed this i have the same problem just wondering if u are willing to share![]()
| « [508]Help To remove an object | Making Npcs spawn and despawn. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |