mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table
This commit is contained in:
parent
2b8b2a4f30
commit
4ad8891e05
4 changed files with 20 additions and 11 deletions
|
@ -238,11 +238,7 @@ private:
|
|||
class CraftItem : public InventoryItem
|
||||
{
|
||||
public:
|
||||
CraftItem(IGameDef *gamedef, std::string subname, u16 count):
|
||||
InventoryItem(gamedef, count)
|
||||
{
|
||||
m_subname = subname;
|
||||
}
|
||||
CraftItem(IGameDef *gamedef, std::string subname, u16 count);
|
||||
/*
|
||||
Implementation interface
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue