aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-01-13 22:11:31 -0500
committerShadowNinja <shadowninja@minetest.net>2014-01-13 22:11:31 -0500
commit5434d87da2a6ab891448ed4e61e8463c688d1f1c (patch)
treecf61e8218076bd22d580306b554d71a5a203b137
parent574ed6a363328dcfa477b1779f3d9491322d96b7 (diff)
downloadminetest-5434d87da2a6ab891448ed4e61e8463c688d1f1c.tar.gz
minetest-5434d87da2a6ab891448ed4e61e8463c688d1f1c.tar.bz2
minetest-5434d87da2a6ab891448ed4e61e8463c688d1f1c.zip
Fix spelling of "attempt"
-rw-r--r--builtin/misc_register.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/misc_register.lua b/builtin/misc_register.lua
index d00945dbd..4b44b0ad2 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)