1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Wieldhand: Allow overriding the hand

This commit is contained in:
TeTpaAka 2015-06-25 13:06:49 +02:00 committed by paramat
parent e4ee6548af
commit 785a9a6c1a
6 changed files with 64 additions and 4 deletions

View 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);