mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Fix infinite fishbucket placement in survival/creative
This commit is contained in:
parent
e134cc5e65
commit
66322a873b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ local function on_place_fish(itemstack, placer, pointed_thing)
|
||||||
if water then
|
if water then
|
||||||
minetest.set_node(pos,{name = water})
|
minetest.set_node(pos,{name = water})
|
||||||
end
|
end
|
||||||
if not placer or minetest.is_creative_enabled(placer:get_player_name()) then
|
if not placer or not minetest.is_creative_enabled(placer:get_player_name()) then
|
||||||
itemstack:set_name("mcl_buckets:bucket_empty")
|
itemstack:set_name("mcl_buckets:bucket_empty")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue