From 9679a0fb1dc269a87438def6e00b0193c4a1ae13 Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 23 Nov 2015 19:28:44 +0100 Subject: [PATCH] Fix ench. tools alias --- enchanting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enchanting.lua b/enchanting.lua index 9eb5082..ea920b9 100644 --- a/enchanting.lua +++ b/enchanting.lua @@ -213,8 +213,8 @@ for _, ench in pairs(tooldef[3]) do }) end end - minetest.register_alias("xdecor:enchanted_"..tool.."_"..material.."_"..enchant, - ":"..mod..":enchanted_"..tool.."_"..material.."_"..enchant) + minetest.register_alias("xdecor:enchanted_"..tool.."_"..material.."_"..enchant, mod..":enchanted_"..tool.."_"..material.."_"..enchant) + minetest.register_alias(":"..mod..":enchanted_"..tool.."_"..material.."_"..enchant, mod..":enchanted_"..tool.."_"..material.."_"..enchant) end end end