Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trinkets support.
  • Loading branch information
MAGGen-hub authored Mar 27, 2023
commit d800925b3e3e94ea1f5b022467c324ba12cfe140
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
public class CampanionConfigManager {
private static File file;
private static CampanionConfig config;
private static boolean TrinketsEnabled = false;

private static void prepareBiomeConfigFile() {
if (file != null) {
Expand Down Expand Up @@ -69,4 +70,13 @@ public static void save() {
public static CampanionConfig getConfig() {
return config;
}

public static boolean IsTrinketsEnabled() {
return TrinketsEnabled;
}

public static void setTrinketsSupport(boolean value){
TrinketsEnabled = value;
}
}
}