InventoryManager: fix container open callbacks not working

this was reported to me on socials by multiple different people, but nobody reported an issue so I almost forgot. >.<
This commit is contained in:
Dylan K. Taylor 2021-06-26 21:21:23 +01:00
parent 9b30c2feda
commit b8ebf8936e
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -145,9 +145,9 @@ class InventoryManager{
$this->session->sendDataPacket($pk); $this->session->sendDataPacket($pk);
} }
$this->syncContents($inventory); $this->syncContents($inventory);
}
return; return;
} }
}
throw new \UnsupportedOperationException("Unsupported inventory type"); throw new \UnsupportedOperationException("Unsupported inventory type");
} }