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:
parent
e4ee6548af
commit
785a9a6c1a
6 changed files with 64 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue