I coded this a few months ago and I decided to release a fix to completely obliterate cm.dispose() problems.
Put this in NPCTalkHandler under "int oid = slea.readInt();"
Here's the dispose method:PHP Code:if(NPCScriptManager.getInstance().getCM(c) != null){
dispose(c);
}
If you decide to migrate this release anywhere else, please provide credits. If you don't, then you're a poopoo head.PHP Code:public void dispose(MapleClient c){
c.announce(MaplePacketCreator.enableActions());
NPCScriptManager.getInstance().getCM(c).dispose();
}



Reply With Quote![[Fix] No more cm.dispose();](http://ragezone.com/hyper728.png)


