Fix spelling of "attempt"
authorShadowNinja <shadowninja@minetest.net>
Tue, 14 Jan 2014 03:11:31 +0000 (22:11 -0500)
committerShadowNinja <shadowninja@minetest.net>
Tue, 14 Jan 2014 03:11:31 +0000 (22:11 -0500)
builtin/misc_register.lua

index d00945dbd077e25db4fce0c9da96cc895726be0d..4b44b0ad23eb185997b007470d9b748fcddbcd91 100644 (file)
@@ -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)