diff options
author | TeTpaAka <TeTpaAka@users.noreply.github.com> | 2015-06-25 13:06:49 +0200 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-11-26 03:49:30 +0000 |
commit | 785a9a6c1af424b0a46f334de7176c9e67341cfb (patch) | |
tree | f0b33e1c47e65800beacae8d6c905c8a02307674 /src/content_sao.h | |
parent | e4ee6548afd01040046ee3780d0fbb121d141251 (diff) | |
download | minetest-785a9a6c1af424b0a46f334de7176c9e67341cfb.tar.gz minetest-785a9a6c1af424b0a46f334de7176c9e67341cfb.tar.bz2 minetest-785a9a6c1af424b0a46f334de7176c9e67341cfb.zip |
Wieldhand: Allow overriding the hand
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index f58c7dadb..c5b066f50 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -251,6 +251,8 @@ public: const Inventory* getInventory() const; InventoryLocation getInventoryLocation() const; std::string getWieldList() const; + ItemStack getWieldedItem() const; + bool setWieldedItem(const ItemStack &item); int getWieldIndex() const; void setWieldIndex(int i); |