[Important] Saving No Restart Zone times working?
Posted: Sun Aug 26, 2012 10:26 am
Hello, i was wondering because this code is practically dead:
Is this working? at L2GameClient.java class
Because everytime the player logs out, ofc player will be null, and so getActiveChar().
Code: Select all
getActiveChar().storeZoneRestartLimitTime();
Code: Select all
class DisconnectTask implements Runnable { /** * @see java.lang.Runnable#run() */ public void run() { boolean fast = true; try { final L2PcInstance player = L2GameClient.this.getActiveChar(); if (player != null && !isDetached()) { _log.info("made store restart limit time"); getActiveChar().storeZoneRestartLimitTime(); //FIXME
Because everytime the player logs out, ofc player will be null, and so getActiveChar().