mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-06 01:50:21 +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:
@ -38,7 +38,7 @@ minetest.register_craftitem("mobs:rat", {
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
if pointed_thing.above then
|
||||
minetest.env:add_entity(pointed_thing.above, "mobs:rat")
|
||||
minetest.add_entity(pointed_thing.above, "mobs:rat")
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
|
Reference in New Issue
Block a user