mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-10-15 23:25:39 +02:00
Add some basic testing to worldedit_commands
This commit is contained in:
@@ -152,6 +152,10 @@ do
|
||||
}) do
|
||||
dofile(modpath .. "/" .. name .. ".lua")
|
||||
end
|
||||
|
||||
if worldedit.register_test then
|
||||
dofile(modpath .. "/test/init.lua")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -344,4 +348,3 @@ worldedit.register_command("reset", {
|
||||
return true, S("region reset")
|
||||
end,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user