master #15

Merged
NO11 merged 241 commits from VoxeLibre/VoxeLibre:master into master 2022-03-12 23:42:27 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 414e2e7725 - Show all commits

View File

@ -43,7 +43,7 @@ end
-- the tool needs to be updated.
function mcl_enchanting.update_groupcaps(itemstack)
local name = itemstack:get_name()
if not minetest.registered_tools[name].tool_capabilities then
if not minetest.registered_tools[name] or not minetest.registered_tools[name].tool_capabilities then
return
end