diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index b4d05de2..4fdff023 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -180,7 +180,7 @@ void InventoryHandler::handleMessage(MessageIn &msg) if (msg.readInt8() > 0) { - if (config.getValue("showpickupchat", true)) + if (config.getValue("showpickupchat", 1)) localChatTab->chatLog(_("Unable to pick up item"), BY_SERVER); } else @@ -189,14 +189,14 @@ void InventoryHandler::handleMessage(MessageIn &msg) const std::string amountStr = (amount > 1) ? toString(amount) : "a"; - if (config.getValue("showpickupchat", true)) + if (config.getValue("showpickupchat", 1)) { localChatTab->chatLog(strprintf(_("You picked up %s [%s]"), amountStr.c_str(), itemInfo.getName().c_str()), BY_SERVER); } - if (config.getValue("showpickupparticle", false)) + if (config.getValue("showpickupparticle", 0)) { player_node->pickedUp(itemInfo.getName()); } |