Move world-related functions to mcl_worlds
This commit is contained in:
parent
06ef86ddd3
commit
b0c87f74fe
35 changed files with 212 additions and 202 deletions
|
@ -1,5 +1,4 @@
|
|||
mcl_init
|
||||
mcl_util
|
||||
mcl_core
|
||||
mcl_particles
|
||||
mcl_hunger
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
mcl_init
|
||||
mcl_util
|
||||
mcl_worlds
|
||||
mcl_core
|
||||
mcl_particles
|
||||
mcl_hunger
|
||||
|
|
|
@ -154,7 +154,7 @@ minetest.register_globalstep(function(dtime)
|
|||
end
|
||||
|
||||
-- Deal Void damage
|
||||
local void, void_deadly = mcl_util.is_in_void(pos)
|
||||
local void, void_deadly = mcl_worlds.is_in_void(pos)
|
||||
if void_deadly then
|
||||
-- Player is deep into the void, deal void damage
|
||||
if player:get_hp() > 0 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue