NPC Examine npc drops?667
hi, so ive tried adding this - [Only registered and activated users can see links. Click Here To Register...]
to my 667 server, ive converted it added it with no compiler errors, but when it comes to examining the npc no drop table comes up, does anybody have any ideas, or even show me a differant way of adding npc drops? thanks
EDIT: messed around with this code, when i right click the npc it now opens up the interface, but shows no drops., now getting this error
java.lang.NullPointerException: Cannot invoke "com.rs.game.item.ItemsContainer.clear()" because the return value of "com.rs.game.player.Player.getNpcDrops()" is null
at com.rs.game.player.content.ViewNPCDrops.sendInterf ace(ViewNPCDrops.java:35)
at com.rs.net.decoders.handlers.NPCHandler$2.run(NPCH andler.java:275)
at com.rs.game.player.CoordsEvent.processEvent(Coords Event.java:53)
at com.rs.game.player.Player.processEntity(Player.jav a:642)
at com.rs.cores.WorldThread.run(WorldThread.java:48)