From 4c4e0b9d073394058d293c0b8c132ac518eda547 Mon Sep 17 00:00:00 2001 From: TheSumm Date: Thu, 12 Feb 2015 14:48:56 +0100 Subject: [PATCH] Fix error showing after relogging with containers being open --- src/client/game.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 37c9dfdb..52d4477c 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -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; }