get rid of unused variable

This commit is contained in:
Vanessa Ezekowitz 2015-06-14 01:58:18 -04:00
parent 57826a1a15
commit 87c334a9e5
1 changed files with 0 additions and 1 deletions

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
minetest.override_item("bucket:bucket_empty", {
on_use = function(itemstack, user, pointed_thing)
local wieldname = itemstack:get_name()
local inv = user:get_inventory()
if pointed_thing.type == "node" and minetest.get_node(pointed_thing.under).name == "homedecor:well" then