Advertisement
GOODPower

Untitled

May 28th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.     public void updateEffectIcons()
  2.     {
  3.         if(entering || isLogoutStarted())
  4.             return;
  5.  
  6.         if(Config.USER_INFO_INTERVAL == 0)
  7.         {
  8.             if(_updateEffectIconsTask != null)
  9.             {
  10.                 _updateEffectIconsTask.cancel(false);
  11.                 _updateEffectIconsTask = null;
  12.             }
  13.             updateEffectIconsImpl();
  14.             return;
  15.         }
  16.  
  17.         if(_updateEffectIconsTask != null)
  18.             return;
  19.  
  20.         _updateEffectIconsTask = ThreadPoolManager.getInstance().schedule(new UpdateEffectIcons(), Config.USER_INFO_INTERVAL);
  21.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement