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

setSpawnPosition packet

Comments in 'Plugin Development' started by Creeperface, Aug 4, 2015.

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

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    hi i use this code for repoint player´s compass but it do nothing.
    PHP:
    $pk = new \pocketmine\network\protocol\SetSpawnPositionPacket();
                
    $pk->$this->data[$team."Nexus"]->x;
                
    $pk->$this->data[$team."Nexus"]->y;
                
    $pk->$this->data[$team."Nexus"]->z;
                
    $p->dataPacket($pk);
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    is it pocketmine or MCPE bug?
Thread Status:
Not open for further replies.

Share This Page

Advertisement