From d7b5ee494e707e4ebadfdec14669831a25cd7aca Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 1 Jul 2017 19:04:27 +0200 Subject: [PATCH] Remove on_construct of snowballs --- mods/ITEMS/mcl_throwing/throwable.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mods/ITEMS/mcl_throwing/throwable.lua b/mods/ITEMS/mcl_throwing/throwable.lua index c589b15a6a..f0c8450cbb 100644 --- a/mods/ITEMS/mcl_throwing/throwable.lua +++ b/mods/ITEMS/mcl_throwing/throwable.lua @@ -280,12 +280,6 @@ minetest.register_craftitem("mcl_throwing:snowball", { inventory_image = "mcl_throwing_snowball.png", stack_max = 16, 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