projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11115c7
)
Default: Add mapgen alias for air
author
paramat
<mat.gregory@virginmedia.com>
Mon, 28 Dec 2015 22:24:51 +0000
(22:24 +0000)
committer
paramat
<mat.gregory@virginmedia.com>
Thu, 31 Dec 2015 00:05:34 +0000
(
00:05
+0000)
mods/default/mapgen.lua
patch
|
blob
|
history
diff --git
a/mods/default/mapgen.lua
b/mods/default/mapgen.lua
index 7c3c20b97b9548ff63f160c11f0313ebbea44c61..9f96cc35ebeb58dd9c8df8191bcb493b83e6d187 100644
(file)
--- a/
mods/default/mapgen.lua
+++ b/
mods/default/mapgen.lua
@@
-2,6
+2,7
@@
-- Aliases for map generator outputs
--
+minetest.register_alias("mapgen_air", "air")
minetest.register_alias("mapgen_stone", "default:stone")
minetest.register_alias("mapgen_dirt", "default:dirt")
minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass")