Merge branch 'stable' into next-minor

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

View File

@ -325,7 +325,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();
}