mcl_buckets whitespace fixes
This commit is contained in:
parent
b4971b298d
commit
ebf4678e54
|
@ -160,7 +160,7 @@ local function on_place_bucket(itemstack, user, pointed_thing)
|
||||||
if not pointed_thing or pointed_thing.type ~= "node" then
|
if not pointed_thing or pointed_thing.type ~= "node" then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Call on_rightclick if the pointed node defines it
|
-- Call on_rightclick if the pointed node defines it
|
||||||
local new_stack = mcl_util.call_on_rightclick(itemstack, user, pointed_thing)
|
local new_stack = mcl_util.call_on_rightclick(itemstack, user, pointed_thing)
|
||||||
if new_stack then
|
if new_stack then
|
||||||
|
@ -202,7 +202,7 @@ local function on_place_bucket_empty(itemstack, user, pointed_thing)
|
||||||
if not use_select_box then
|
if not use_select_box then
|
||||||
pointed_thing = bucket_get_pointed_thing(user)
|
pointed_thing = bucket_get_pointed_thing(user)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Must be pointing to node
|
-- Must be pointing to node
|
||||||
if not pointed_thing or pointed_thing.type ~= "node" then
|
if not pointed_thing or pointed_thing.type ~= "node" then
|
||||||
return itemstack
|
return itemstack
|
||||||
|
|
Loading…
Reference in New Issue