summaryrefslogtreecommitdiff
path: root/polebean.lua
diff options
context:
space:
mode:
Diffstat (limited to 'polebean.lua')
-rw-r--r--polebean.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/polebean.lua b/polebean.lua
index 5af61ac..11350cf 100644
--- a/polebean.lua
+++ b/polebean.lua
@@ -245,8 +245,8 @@ end
minetest.register_abm({
nodenames = { "crops:beanpole_plant_base_1", "crops:beanpole_plant_base_2", "crops:beanpole_plant_base_3", "crops:beanpole_plant_base_4" },
- interval = crops.interval,
- chance = crops.chance,
+ interval = crops.settings.interval,
+ chance = crops.settings.chance,
neighbors = { "group:soil" },
action = function(pos, node, active_object_count, active_object_count_wider)
if not crops.can_grow(pos) then