Skip to content

Commit

Permalink
fix: xdecor typo crashing the server startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronoaldo committed Jan 14, 2025
1 parent d5273b6 commit 2b7541a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/xdecor/src/enchanting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function enchanting:register_tool(original_tool_name, def)
end
local original_toolcaps = original_tool.tool_capabilities
if not original_toolcaps then
minetest.log("error", "[xdecor] Called enchanting:register_tool for tool without tool_capabilities: "..original_too_name)
minetest.log("error", "[xdecor] Called enchanting:register_tool for tool without tool_capabilities: "..original_tool_name)
return
end
local original_damage_groups = original_toolcaps.damage_groups
Expand Down

0 comments on commit 2b7541a

Please sign in to comment.