1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved NPE @ Worlds.getCurrent()

Discussion in 'Client & Site Support' started by SlashnHax, Aug 4, 2015.

  1. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,221
    Likes Received:
    1,044
    Code (Text):
    1.  
    2. (12:22:48) Caused by: java.lang.NullPointerException
    3. (12:22:48)     at app.Ip.for(oub:144)
    4. (12:22:48)     at com.runemate.game.api.hybrid.local.Worlds.getCurrent(lfc:168)
    5. (12:22:48)     at com.slashnhax.bots.commissioned.alpha_nightshades.tasks.WorldHopper.lambda$execute$0(WorldHopper.java:37)
    6. (12:22:48)     at com.slashnhax.bots.commissioned.alpha_nightshades.tasks.WorldHopper$$Lambda$449/1551809947.call(Unknown Source)
    7. (12:22:48)     at com.runemate.game.api.script.Execution.delayUntil(aob:233)
    8. (12:22:48)     ... 8 more
    My code:
    Code (Text):
    1.  
    2. if(Execution.delayUntil(()-> RuneScape.isLoggedIn() && Worlds.getCurrent() == worlds[lastIndex%worlds.length], 20000)) {
    3.     Execution.delay(600, 1800);lastIndex++;
    4. }
    @Cloud
     
  2. Best Answer:
    Post #2 by Cloud, Aug 6, 2015
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    fixed for next build.
     

Share This Page

Loading...