diff options
Diffstat (limited to 'src/script/lua_api/l_itemstackmeta.h')
-rw-r--r-- | src/script/lua_api/l_itemstackmeta.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_itemstackmeta.h b/src/script/lua_api/l_itemstackmeta.h index 4ef64a91e..6e841d2dc 100644 --- a/src/script/lua_api/l_itemstackmeta.h +++ b/src/script/lua_api/l_itemstackmeta.h @@ -28,7 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class ItemStackMetaRef : public MetaDataRef { private: - ItemStack *istack; + ItemStack *istack = nullptr; static const char className[]; static const luaL_Reg methods[]; |