mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-02 03:05:32 +01:00
Implement metadata-aware version of InvRef:remove_item() (#15771)
This commit is contained in:
@@ -262,7 +262,7 @@ public:
|
||||
// If not as many items exist as requested, removes as
|
||||
// many as possible.
|
||||
// Returns the items that were actually removed.
|
||||
ItemStack removeItem(const ItemStack &item);
|
||||
ItemStack removeItem(const ItemStack &item, bool match_meta);
|
||||
|
||||
// Takes some items from a slot.
|
||||
// If there are not enough, takes as many as it can.
|
||||
|
||||
Reference in New Issue
Block a user