summaryrefslogtreecommitdiff
path: root/melon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'melon.lua')
-rw-r--r--melon.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/melon.lua b/melon.lua
index 23ea5e5..209b3a7 100644
--- a/melon.lua
+++ b/melon.lua
@@ -235,9 +235,9 @@ local properties = {
wither_damage = 10,
}
-table.insert(crops.plants, { name = "crops:melon_plant_1", properties = properties })
-table.insert(crops.plants, { name = "crops:melon_plant_2", properties = properties })
-table.insert(crops.plants, { name = "crops:melon_plant_3", properties = properties })
-table.insert(crops.plants, { name = "crops:melon_plant_4", properties = properties })
-table.insert(crops.plants, { name = "crops:melon_plant_5", properties = properties })
-table.insert(crops.plants, { name = "crops:melon_plant_5_attached", properties = properties })
+crops.register({ name = "crops:melon_plant_1", properties = properties })
+crops.register({ name = "crops:melon_plant_2", properties = properties })
+crops.register({ name = "crops:melon_plant_3", properties = properties })
+crops.register({ name = "crops:melon_plant_4", properties = properties })
+crops.register({ name = "crops:melon_plant_5", properties = properties })
+crops.register({ name = "crops:melon_plant_5_attached", properties = properties })