Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
add config for poor ores
Browse files Browse the repository at this point in the history
  • Loading branch information
maggi373 committed Sep 3, 2022
1 parent b04566b commit 2b68835
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public class TerralizationConfig {
public static boolean EnableQuartzCompat;
public static boolean EnableDiamondCompat;
public static boolean EnableCapes;
public static boolean EnablePoorOresCompat;

public static void init() {
Configuration config;
Expand All @@ -19,6 +20,7 @@ public static void init() {
EnableCapes = config.get("General", "Capes", true).getBoolean();
EnableQuartzCompat = config.get("General", "QuartzCompat", true).getBoolean();
EnableDiamondCompat = config.get("General", "DiamondCompat", true).getBoolean();
EnablePoorOresCompat = config.get("General", "PoorOresCompat", true).getBoolean();
try {
config.save();//saves the Configuration content into the file.
} catch (Exception e) {
Expand Down

0 comments on commit 2b68835

Please sign in to comment.