mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Don't use up bone meal in creative mode
This commit is contained in:
parent
a2a9405570
commit
dd26dcd6a9
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ minetest.register_craftitem("mcl_dye:white", {
|
|||
stack_max = 64,
|
||||
groups = {dye=1, craftitem=1, basecolor_white=1, excolor_white=1, unicolor_white=1},
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
if(apply_bone_meal(pointed_thing)) then
|
||||
if(apply_bone_meal(pointed_thing) and not minetest.setting_getbool("creative_mode")) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
|
|
Loading…
Reference in a new issue