1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 08:20:21 +01:00

get rid of unused variable

This commit is contained in:
Vanessa Ezekowitz 2015-06-14 01:58:18 -04:00
parent 57826a1a15
commit 87c334a9e5

View File

@ -331,7 +331,6 @@ if minetest.get_modpath("bucket") then
local original_bucket_on_use = minetest.registered_items["bucket:bucket_empty"].on_use local original_bucket_on_use = minetest.registered_items["bucket:bucket_empty"].on_use
minetest.override_item("bucket:bucket_empty", { minetest.override_item("bucket:bucket_empty", {
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
local wieldname = itemstack:get_name()
local inv = user:get_inventory() local inv = user:get_inventory()
if pointed_thing.type == "node" and minetest.get_node(pointed_thing.under).name == "homedecor:well" then if pointed_thing.type == "node" and minetest.get_node(pointed_thing.under).name == "homedecor:well" then