forked from minetest/minetest_game
Show filled buckets in creative inventory
This commit is contained in:
parent
0ca4520cc2
commit
263b6f2fdf
|
@ -51,7 +51,6 @@ function bucket.register_liquid(source, flowing, itemname, inventory_image, name
|
||||||
inventory_image = inventory_image,
|
inventory_image = inventory_image,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {not_in_creative_inventory=1},
|
|
||||||
on_place = function(itemstack, user, pointed_thing)
|
on_place = function(itemstack, user, pointed_thing)
|
||||||
-- Must be pointing to node
|
-- Must be pointing to node
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user