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

View File

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