Wieldhand: Allow overriding the hand
[oweals/minetest.git] / src / player.cpp
index 9c321d57192faba116f9516c7914b14ce5604f3d..85bc639ec17970b2f05f998795a021ed6663211e 100644 (file)
@@ -40,6 +40,7 @@ Player::Player(const char *name, IItemDefManager *idef):
 
        inventory.clear();
        inventory.addList("main", PLAYER_INVENTORY_SIZE);
+       inventory.addList("hand", 1);
        InventoryList *craft = inventory.addList("craft", 9);
        craft->setWidth(3);
        inventory.addList("craftpreview", 1);