summaryrefslogtreecommitdiff
path: root/potato.lua
diff options
context:
space:
mode:
Diffstat (limited to 'potato.lua')
-rw-r--r--potato.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/potato.lua b/potato.lua
index cb2108e..248957b 100644
--- a/potato.lua
+++ b/potato.lua
@@ -182,7 +182,7 @@ local properties = {
wither_damage = 10,
}
-table.insert(crops.plants, { name = "crops:potato_plant_1", properties = properties })
-table.insert(crops.plants, { name = "crops:potato_plant_2", properties = properties })
-table.insert(crops.plants, { name = "crops:potato_plant_3", properties = properties })
-table.insert(crops.plants, { name = "crops:potato_plant_4", properties = properties })
+crops.register({ name = "crops:potato_plant_1", properties = properties })
+crops.register({ name = "crops:potato_plant_2", properties = properties })
+crops.register({ name = "crops:potato_plant_3", properties = properties })
+crops.register({ name = "crops:potato_plant_4", properties = properties })