1
0
Fork 0

Fix infinite fishbucket placement in survival/creative

This commit is contained in:
cora 2022-11-26 04:10:52 +01:00
parent e134cc5e65
commit 66322a873b
1 changed files with 1 additions and 1 deletions

View File

@ -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