Checking If A Player Is In A World

Discussion in 'Plugin Development' started by cheese5505, Nov 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    cheese5505

    How Would I Check If A Player Is In A World?
     
  2. Offline

    Numenorean95

    Code:
    if (player.getWorld().equals(myWorld)){
         //Code here...
    }
     
  3. Offline

    cheese5505

    Thank you random person.
     
Thread Status:
Not open for further replies.

Share This Page