diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-06-09 18:02:44 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-06-09 18:02:44 +0200 |
commit | b1418837a9d898ad6820a6d63eae3c6c9237b153 (patch) | |
tree | c5e2f41d1234dea213e70ebb34fe93f845fce98c | |
parent | 00cd9d750f2ee5ce954426251ab97bb304d2e2a6 (diff) | |
download | skycraft-b1418837a9d898ad6820a6d63eae3c6c9237b153.tar.xz |
Fixed Netherrack
-rw-r--r-- | modules.txt | 2 | ||||
-rw-r--r-- | src/main/netherrack_fix.lua | 9 |
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 +}) |