Doing now:\r
======================================================================\r
\r
-TODO: Tool items\r
-\r
-- Actually, tool items should be just a little special MapBlockItems\r
+TODO: Tool capability table\r
+TODO: Transferring of the table from server to client\r
\r
======================================================================\r
\r
if(mlist != NULL)\r
{\r
InventoryItem *item = mlist->getItem(g_selected_item);\r
- if((std::string)item->getName() == "ToolItem")\r
+ if(item && (std::string)item->getName() == "ToolItem")\r
{\r
ToolItem *titem = (ToolItem*)item;\r
if(titem->getToolName() == "WPick")\r