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

this code will work?

Comments in 'Plugin Development' started by XWITHERHEROX, Feb 12, 2016.

  1. XWITHERHEROX
    Offline

    XWITHERHEROX Active Member

    Joined:
    Jun 4, 2015
    Posts:
    57
    Minecraft User:
    ReDaRWiTheR
    this code is right ??

    PHP:
    $sender->teleport($this->getServer()->GetLevelByName("g")->getSafeSpawn());

    if now can you help me ?
  2. AndrewBit
    Offline

    AndrewBit Notable Member

    Joined:
    Jun 18, 2015
    Posts:
    435
    Minecraft User:
    AndrewBit4
    It will work.
    HotFireyDeath likes this.
  3. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    Position extends vector3, it inherits the properties from a vector3 and can be passed as a vector3.
    PEMapModder and HotFireyDeath like this.
  4. HotFireyDeath
    Offline

    HotFireyDeath Notable Member Plugin Developer

    Joined:
    Mar 19, 2015
    Posts:
    328
    Plugins:
    1
    Minecraft User:
    HotFireyDeath
    Ok, ok, sorry! :p
    Thanks for your corrections.

    I apologize for my mistake, it will work after I looked/checked a second time.

Share This Page

Advertisement