[LuaRecipeLoader] Useless private field removed.
This commit is contained in:
parent
a6a121628a
commit
6a575d79f6
@ -55,7 +55,7 @@ class LuaMod {
|
|||||||
|
|
||||||
LuaBlockLoader m_blockLoader{*this};
|
LuaBlockLoader m_blockLoader{*this};
|
||||||
LuaItemLoader m_itemLoader{*this};
|
LuaItemLoader m_itemLoader{*this};
|
||||||
LuaRecipeLoader m_recipeLoader{*this};
|
LuaRecipeLoader m_recipeLoader;
|
||||||
LuaBiomeLoader m_biomeLoader{*this};
|
LuaBiomeLoader m_biomeLoader{*this};
|
||||||
LuaDimensionLoader m_dimensionLoader{*this};
|
LuaDimensionLoader m_dimensionLoader{*this};
|
||||||
};
|
};
|
||||||
|
@ -33,13 +33,10 @@ class LuaMod;
|
|||||||
|
|
||||||
class LuaRecipeLoader {
|
class LuaRecipeLoader {
|
||||||
public:
|
public:
|
||||||
LuaRecipeLoader(LuaMod &mod) : m_mod(mod) {}
|
LuaRecipeLoader() = default;
|
||||||
|
|
||||||
void loadCraftingRecipe(const sol::table &table) const;
|
void loadCraftingRecipe(const sol::table &table) const;
|
||||||
void loadSmeltingRecipe(const sol::table &table) const;
|
void loadSmeltingRecipe(const sol::table &table) const;
|
||||||
|
|
||||||
private:
|
|
||||||
LuaMod &m_mod;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LUARECIPELOADER_HPP_
|
#endif // LUARECIPELOADER_HPP_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user