mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Remove on_construct of snowballs
This commit is contained in:
parent
6fb818d7bf
commit
d7b5ee494e
1 changed files with 0 additions and 6 deletions
|
@ -280,12 +280,6 @@ minetest.register_craftitem("mcl_throwing:snowball", {
|
||||||
inventory_image = "mcl_throwing_snowball.png",
|
inventory_image = "mcl_throwing_snowball.png",
|
||||||
stack_max = 16,
|
stack_max = 16,
|
||||||
on_use = throw_function("mcl_throwing:snowball_entity"),
|
on_use = throw_function("mcl_throwing:snowball_entity"),
|
||||||
on_construct = function(pos)
|
|
||||||
pos.y = pos.y - 1
|
|
||||||
if minetest.get_node(pos).name == "default:dirt_with_grass" then
|
|
||||||
minetest.set_node(pos, {name="default:dirt_with_snow"})
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Egg
|
-- Egg
|
||||||
|
|
Loading…
Reference in a new issue