diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:32:00 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:32:00 +0100 |
commit | ce0c3e8eb87452a92c46754ef49380b6f0131fb0 (patch) | |
tree | 2d473a9503813a64a24869d8c8ae2c7bcf08a5c1 /beanpole.lua | |
parent | 4c2965a5248f60c07a73685813517ea4f8692233 (diff) |
updating to newer 0.4.16 functions
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 8afead6..e8b7455 100644 --- a/beanpole.lua +++ b/beanpole.lua @@ -121,7 +121,7 @@ minetest.register_node("farming:beanpole", { minetest.set_node(pointed_thing.above, {name = "farming:beanpole"}) - if not minetest.setting_getbool("creative_mode") then + if not farming.is_creative(placer:get_player_name()) then itemstack:take_item() end |