1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Removing all the olds minetest.env calls

- All the minetest.env calls removed

It took me about 2 hours, but I did it, and it works!
This commit is contained in:
LeMagnesium
2014-11-08 18:36:57 +01:00
parent 28c92fbaa8
commit 27836d2835
57 changed files with 442 additions and 441 deletions

View File

@ -40,7 +40,7 @@ minetest.register_globalstep(function(dtime)
pos = near
-- am I touching the cactus? if so it hurts
for _,object in ipairs(minetest.env:get_objects_inside_radius(pos, 1.0)) do
for _,object in ipairs(minetest.get_objects_inside_radius(pos, 1.0)) do
if object:get_hp() > 0 then
object:set_hp(object:get_hp()-1)
end