mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11: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
|
||||
minetest.set_node(pos,{name = water})
|
||||
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")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue