mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add ItemStack key-value meta storage
This commit is contained in:
@@ -139,7 +139,7 @@ static std::vector<ItemStack> craftGetItems(
|
||||
for (std::vector<std::string>::size_type i = 0;
|
||||
i < items.size(); i++) {
|
||||
result.push_back(ItemStack(std::string(items[i]), (u16)1,
|
||||
(u16)0, "", gamedef->getItemDefManager()));
|
||||
(u16)0, gamedef->getItemDefManager()));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -1126,4 +1126,3 @@ IWritableCraftDefManager* createCraftDefManager()
|
||||
{
|
||||
return new CCraftDefManager();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user