diff options
Diffstat (limited to 'bonemeal.lua')
-rw-r--r-- | bonemeal.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bonemeal.lua b/bonemeal.lua index 1de4cbc..60f7ef3 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -295,18 +295,13 @@ minetest.register_craftitem("ethereal:bonemeal", { return
end
- if not minetest.setting_getbool("creative_mode") then
+ if not ethereal.check_creative(user:get_player_name()) then
- local item = user:get_wielded_item()
-
- item:take_item()
- user:set_wielded_item(item)
+ itemstack:take_item()
end
growth(pointed_thing)
- itemstack:take_item()
-
return itemstack
end
end,
|