diff options
Diffstat (limited to 'pumpkin.lua')
-rw-r--r-- | pumpkin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pumpkin.lua b/pumpkin.lua index 64ea77d..a64757d 100644 --- a/pumpkin.lua +++ b/pumpkin.lua @@ -40,7 +40,7 @@ minetest.register_node("crops:pumpkin_seed", { return end crops.plant(pointed_thing.above, {name="crops:pumpkin_plant_1"}) - if not minetest.setting_getbool("creative_mode") then + if not minetest.settings:get_bool("creative_mode") then itemstack:take_item() end return itemstack |