Teleport player

Discussion in 'Plugin Development' started by Xogos1997, Dec 10, 2015.

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

    Xogos1997

    i rly dont know where is wrong.. :D maybe its change in new version or bad bukkit.

    [​IMG]
     
  2. new Location(WORLD w, x,y,z); It doesn't take a string.
     
  3. Offline

    mcdorli

    This is solved, but the message was deleted
     
  4. Offline

    DoggyCode™

    p.teleport(Bukkit.getServer().getWorld("world"), 0, 0, 0);
     
  5. Offline

    Zombie_Striker

    @DoggyCode™
    That will only work if the player keeps the main world's name as "world". Also, what if Xogos wants it to be in another world? Why not just use p.getLocation().getWorld()?
     
  6. Offline

    Xogos1997

    thx for help. but i read (STRING,x,y,z) and this is a problem.. :D but yes i fix it. but thx to try help me.
     
Thread Status:
Not open for further replies.

Share This Page