mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 01:49:32 +01:00
Clear item meta when turning fishbucket to empty bucket
before it simply set a different itemstring, now it creates a whole new itemstack
This commit is contained in:
parent
66322a873b
commit
f14bfdc0cd
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ local function on_place_fish(itemstack, placer, pointed_thing)
|
|||
minetest.set_node(pos,{name = water})
|
||||
end
|
||||
if not placer or not minetest.is_creative_enabled(placer:get_player_name()) then
|
||||
itemstack:set_name("mcl_buckets:bucket_empty")
|
||||
itemstack = ItemStack("mcl_buckets:bucket_empty")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue