Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-09-28 01:06:11 +01:00
8 changed files with 107 additions and 11 deletions

View File

@ -331,7 +331,7 @@ class InventoryManager{
public function onClientRemoveWindow(int $id) : void{
if($id === $this->lastInventoryNetworkId){
if($id !== $this->pendingCloseWindowId){
if(isset($this->windowMap[$id]) && $id !== $this->pendingCloseWindowId){
$this->remove($id);
$this->player->removeCurrentWindow();
}