Fix error showing after relogging with containers being open

This commit is contained in:
TheSumm 2015-02-12 14:48:56 +01:00
parent 6961492e00
commit 4c4e0b9d07
1 changed files with 0 additions and 6 deletions

View File

@ -314,9 +314,6 @@ void Game::processCloseContainer(int containerId)
{
ContainerPtr container = getContainer(containerId);
if(!container) {
/* happens if you close and restart client with container opened
* g_logger.traceError("container not found");
*/
return;
}
@ -328,7 +325,6 @@ void Game::processContainerAddItem(int containerId, const ItemPtr& item, int slo
{
ContainerPtr container = getContainer(containerId);
if(!container) {
g_logger.traceError("container not found");
return;
}
@ -339,7 +335,6 @@ void Game::processContainerUpdateItem(int containerId, int slot, const ItemPtr&
{
ContainerPtr container = getContainer(containerId);
if(!container) {
g_logger.traceError("container not found");
return;
}
@ -350,7 +345,6 @@ void Game::processContainerRemoveItem(int containerId, int slot, const ItemPtr&
{
ContainerPtr container = getContainer(containerId);
if(!container) {
g_logger.traceError("container not found");
return;
}