Mirror von
https://github.com/sys4-fr/server-nalc.git
synchronisiert 2025-10-28 03:15:18 +01: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!
Dieser Commit ist enthalten in:
@@ -724,8 +724,8 @@ local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume,
|
||||
local y2 = y0+y1
|
||||
local z2 = z0+z1
|
||||
local p2 = {x=x2, y=y2, z=z2}
|
||||
if minetest.env:get_node(p2).name == wherein then
|
||||
minetest.env:set_node(p2, {name=name})
|
||||
if minetest.get_node(p2).name == wherein then
|
||||
minetest.set_node(p2, {name=name})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren