aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules.txt2
-rw-r--r--src/main/netherrack_fix.lua9
2 files changed, 10 insertions, 1 deletions
diff --git a/modules.txt b/modules.txt
index f224f72..ba5ee84 100644
--- a/modules.txt
+++ b/modules.txt
@@ -1 +1 @@
-return {common={"common","random","request","schems",},main={"commands","flower_spread","lobby","lucky_block","mapgen","money","plots","ranks","spawns","tpa","trade","wither_spawn",},onload={"lava_cooling","lobby_load","monster_egg_stone_block","nether_portal","sapling_mutation","shop","spawn","void",},} \ No newline at end of file
+return {common={"common","random","request","schems",},main={"commands","flower_spread","lobby","lucky_block","mapgen","money","netherrack_fix","plots","ranks","spawns","tpa","trade","wither_spawn",},onload={"lava_cooling","lobby_load","monster_egg_stone_block","nether_portal","sapling_mutation","shop","spawn","void",},} \ No newline at end of file
diff --git a/src/main/netherrack_fix.lua b/src/main/netherrack_fix.lua
new file mode 100644
index 0000000..0556d5b
--- /dev/null
+++ b/src/main/netherrack_fix.lua
@@ -0,0 +1,9 @@
+minetest.register_lbm({
+ name = "skycraft:netherrack_fix",
+ nodenames = {"mcl_core:stone"},
+ action = function(pos)
+ if pos.y < -28000 then
+ minetest.set_node(pos, {name = "mcl_nether:netherrack"})
+ end
+ end
+})