コード例 #1
0
 /**
  * @return \BukkitPE\entity\Human[]
  */
 public function getViewers()
 {
     return $this->inventory->getViewers();
 }
コード例 #2
0
ファイル: Player.php プロジェクト: MunkySkunk/BukkitPE
 public function removeWindow(Inventory $inventory)
 {
     $inventory->close($this);
     if ($this->windows->contains($inventory)) {
         $id = $this->windows[$inventory];
         $this->windows->detach($this->windowIndex[$id]);
         unset($this->windowIndex[$id]);
     }
 }