From 4c3f55375e4069c962e5b2342c7732a46af34fe2 Mon Sep 17 00:00:00 2001 From: poyraz Date: Thu, 15 Aug 2024 20:55:57 +0300 Subject: [PATCH] Updated items sections to empty array + Updated item arrays to empty. Because there should not be default data for them. --- src/main/java/xyz/geik/farmer/configuration/ModulesFile.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/geik/farmer/configuration/ModulesFile.java b/src/main/java/xyz/geik/farmer/configuration/ModulesFile.java index 41b8e758..b3e72a1b 100644 --- a/src/main/java/xyz/geik/farmer/configuration/ModulesFile.java +++ b/src/main/java/xyz/geik/farmer/configuration/ModulesFile.java @@ -8,6 +8,7 @@ import xyz.geik.glib.shades.okaeri.configs.annotation.NameStrategy; import xyz.geik.glib.shades.okaeri.configs.annotation.Names; +import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -191,7 +192,7 @@ public static class Production extends OkaeriConfig { "write the items you want to calculate", "write the items in the items.yml file with same name", "you can also remove this section, and it will calculate all items in the items.yml file"}) - private List items = Arrays.asList("CACTUS"); + private List items = new ArrayList<>(); } @Comment("Auto Seller Module") @@ -226,7 +227,7 @@ public static class AutoSeller extends OkaeriConfig { "you can add as many items as you want", "the items must be same as the ones in the items.yml of the Farmer", "you can also remove this section for enable it to all items"}) - private List items = Arrays.asList("PUMPKIN", "MELON", "WHEAT", "CACTUS"); + private List items = new ArrayList<>(); } /**