mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-31 02:56:26 -04:00
Keep a bucket of liquid in creative mode
This commit is contained in:
parent
794a436d86
commit
660c305bd1
1 changed files with 2 additions and 0 deletions
|
@ -96,7 +96,9 @@ function bucket.register_liquid(source, flowing, itemname, inventory_image, name
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
return {name="bucket:bucket_empty"}
|
return {name="bucket:bucket_empty"}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue