mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
get rid of unused variable
This commit is contained in:
parent
57826a1a15
commit
87c334a9e5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user