summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 5a329f2c7..4b967c873 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -29,7 +29,6 @@
#include "being/flooritem.h"
#include "being/localplayer.h"
-#include "being/playerinfo.h"
#include "being/playerrelations.h"
#include "const/gui/chat.h"
@@ -64,12 +63,9 @@
#include "net/partyhandler.h"
#include "net/serverfeatures.h"
-#include "resources/iteminfo.h"
#include "resources/chatobject.h"
-#include "resources/inventory/inventory.h"
-
-#include "resources/item/item.h"
+#include "resources/db/itemdb.h"
#include "utils/chatutils.h"
#include "utils/gettext.h"
@@ -311,7 +307,6 @@ impHandler(chatAdd)
if (floorItem)
{
str[0] = floorItem->getItemId();
- logger->log("parts: %d", (int)str.size());
const std::string names = ItemDB::getNamesStr(str);
chatWindow->addItemText(names);
}