mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user