mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Localize liquiddef variable in mcl_buckets
This commit is contained in:
parent
8f916ac429
commit
56e07cd010
@ -180,7 +180,7 @@ minetest.register_craftitem("mcl_buckets:bucket_empty", {
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Check if pointing to a liquid source
|
-- Check if pointing to a liquid source
|
||||||
liquiddef = mcl_buckets.liquids[nn]
|
local liquiddef = mcl_buckets.liquids[nn]
|
||||||
local new_bucket
|
local new_bucket
|
||||||
if liquiddef ~= nil and liquiddef.itemname ~= nil and (nn == liquiddef.source_take) then
|
if liquiddef ~= nil and liquiddef.itemname ~= nil and (nn == liquiddef.source_take) then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user