]> git.lizzy.rs Git - skycraft.git/blob - nether_portal.lua
Added offline ranks
[skycraft.git] / nether_portal.lua
1 minetest.register_on_mods_loaded(function()
2         local old_light_nether_portal = mcl_portals.light_nether_portal
3         function mcl_portals.light_nether_portal(pos)
4                 if mcl_worlds.pos_to_dimension(pos) == "nether" then
5                         return false
6                 else
7                         return old_light_nether_portal(pos)
8                 end
9         end 
10 end)