From: ShadowNinja Date: Tue, 14 Jan 2014 03:11:31 +0000 (-0500) Subject: Fix spelling of "attempt" X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5434d87da2a6ab891448ed4e61e8463c688d1f1c;p=zefram%2Fminetest%2Fminetest_engine.git Fix spelling of "attempt" --- diff --git a/builtin/misc_register.lua b/builtin/misc_register.lua index d00945db..4b44b0ad 100644 --- a/builtin/misc_register.lua +++ b/builtin/misc_register.lua @@ -317,14 +317,14 @@ minetest.register_item(":", { function minetest.override_item(name, redefinition) if redefinition.name ~= nil then - error("Attemt to redefine name of "..name.." to "..dump(redefinition.name), 2) + error("Attempt to redefine name of "..name.." to "..dump(redefinition.name), 2) end if redefinition.type ~= nil then - error("Attemt to redefine type of "..name.." to "..dump(redefinition.type), 2) + error("Attempt to redefine type of "..name.." to "..dump(redefinition.type), 2) end local item = minetest.registered_items[name] if not item then - error("Attemt to override non-existent item "..name, 2) + error("Attempt to override non-existent item "..name, 2) end for k, v in pairs(redefinition) do rawset(item, k, v)