[LuaRecipeLoader] Useless private field removed.

This commit is contained in:
Quentin Bazin 2020-03-08 18:01:29 +01:00
parent a6a121628a
commit 6a575d79f6
2 changed files with 2 additions and 5 deletions

View File

@ -55,7 +55,7 @@ class LuaMod {
LuaBlockLoader m_blockLoader{*this};
LuaItemLoader m_itemLoader{*this};
LuaRecipeLoader m_recipeLoader{*this};
LuaRecipeLoader m_recipeLoader;
LuaBiomeLoader m_biomeLoader{*this};
LuaDimensionLoader m_dimensionLoader{*this};
};

View File

@ -33,13 +33,10 @@ class LuaMod;
class LuaRecipeLoader {
public:
LuaRecipeLoader(LuaMod &mod) : m_mod(mod) {}
LuaRecipeLoader() = default;
void loadCraftingRecipe(const sol::table &table) const;
void loadSmeltingRecipe(const sol::table &table) const;
private:
LuaMod &m_mod;
};
#endif // LUARECIPELOADER_HPP_