spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player
コード例 #1
0
ファイル: Player.php プロジェクト: ZenaGamingsky/Steadfast2
 /**
  * @param Player $player
  */
 public function spawnTo(Player $player)
 {
     if ($this->spawned === true and $player->spawned === true and $this->dead !== true and $player->dead !== true and $player->getLevel() === $this->level and $player->canSee($this)) {
         parent::spawnTo($player);
     }
 }
コード例 #2
0
 /**
  * @param Player $player
  */
 public function spawnTo(Player $player)
 {
     if ($this->spawned and $player->spawned and $this->isAlive() and $player->isAlive() and $player->getLevel() === $this->level and $player->canSee($this) and !$this->isSpectator()) {
         parent::spawnTo($player);
     }
 }
コード例 #3
0
ファイル: HealBed.php プロジェクト: Skull3x/MineBlock
 public function spawnTo(Player $player)
 {
     parent::spawnTo($player);
 }