diff options
Diffstat (limited to 'beanpole.lua')
-rw-r--r-- | beanpole.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beanpole.lua b/beanpole.lua index fd93383..8afead6 100644 --- a/beanpole.lua +++ b/beanpole.lua @@ -41,7 +41,7 @@ function place_beans(itemstack, placer, pointed_thing, plantname) minetest.sound_play("default_place_node", {pos = pt.under, gain = 1.0}) - if not minetest.setting_getbool("creative_mode") then + if not farming.is_creative(placer:get_player_name()) then itemstack:take_item() |