Closed GoogleCodeExporter closed 8 years ago
Quests are sending a null to the creature's onDie(lastAttacker) event.
_2232TheBrokenHoneyJar.java, line 106:
((Npc) player.getTarget()).getController().onDie(null);
And in _2018ReconstructingImpetusium.java, line 128:
npc.getController().onDie(null);
From NpcController.java, problem @ line 161:
DropService.getInstance().registerDrop(getOwner(), (Player) lastAttacker, lastAttacker.getLevel());
Final parameter of registerDrop is making an object reference to a null object
in this case.
Creating patch to correct this so that both quests send the proper player
object. Will require testing.
Original comment by geekswor...@gmail.com
on 13 Jul 2011 at 1:32
Original comment by pziko...@gmail.com
on 21 Jul 2011 at 12:39
Original issue reported on code.google.com by
fb...@gmx.de
on 6 Jul 2011 at 7:52