Keep a bucket of liquid in creative mode

This commit is contained in:
Rui 2015-03-14 14:09:53 +09:00
parent 794a436d86
commit 660c305bd1

View file

@ -96,7 +96,9 @@ function bucket.register_liquid(source, flowing, itemname, inventory_image, name
return
end
end
if not minetest.setting_getbool("creative_mode") then
return {name="bucket:bucket_empty"}
end
end
})
end