mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 18:29:46 +00:00
Shut up PhpStorm
This commit is contained in:
parent
6de8415c79
commit
bb230c5812
@ -3826,6 +3826,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
public function removeWindow(Inventory $inventory){
|
||||
$inventory->close($this);
|
||||
if($this->windows->contains($inventory)){
|
||||
/** @var int $id */
|
||||
$id = $this->windows[$inventory];
|
||||
$this->windows->detach($this->windowIndex[$id]);
|
||||
unset($this->windowIndex[$id]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user