Fix fatal typo

This typo caused the game to crash, instead of spitting out an error message as it was supposed to.
This commit is contained in:
FossFanatic 2023-02-22 13:05:18 +00:00
parent eff0a546e5
commit 65b1fd163b

@ -124,7 +124,7 @@ local function update_map_texture (self, staticdata)
self.object:set_properties({ textures = { texture } }) self.object:set_properties({ textures = { texture } })
end) end)
if result ~= nil and result == false then if result ~= nil and result == false then
mintest.log("error", "[mcl_itemframes] Error setting up Map Item.") minetest.log("error", "[mcl_itemframes] Error setting up Map Item.")
end end
end end