Skip to content

Commit

Permalink
Updated items sections to empty array
Browse files Browse the repository at this point in the history
+ Updated item arrays to empty. Because there should not be default data for them.
  • Loading branch information
poyrazinan committed Aug 15, 2024
1 parent 9b813c3 commit 4c3f553
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/xyz/geik/farmer/configuration/ModulesFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<String> items = Arrays.asList("CACTUS");
private List<String> items = new ArrayList<>();
}

@Comment("Auto Seller Module")
Expand Down Expand Up @@ -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<String> items = Arrays.asList("PUMPKIN", "MELON", "WHEAT", "CACTUS");
private List<String> items = new ArrayList<>();
}

/**
Expand Down

0 comments on commit 4c3f553

Please sign in to comment.