* spaces

* revert kotlin ver

* more framework for kotlin

* make it available to external consumers

* vscode

* update scripts to properly catch broken runserveR

* editor config

* fix recursive zips

* improve

* update links

* more cleanup
This commit is contained in:
bombcar authored and GitHub committed 2022-02-14 15:44:40 -06:00
1 parent ab7a0eef67
commit a71130d437
11 files changed
+109 -77

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ import net.minecraftforge.common.config.Property;
import java.io.File;
public class Config {
private static class Defaults {
public static final String greeting = "Hello World";
}
@@ -14,13 +14,13 @@ public class Config {
private static class Categories {
public static final String general = "general";
}
public static String greeting = Defaults.greeting;
public static void syncronizeConfiguration(File configFile) {
Configuration configuration = new Configuration(configFile);
configuration.load();
Property greetingProperty = configuration.get(Categories.general, "greeting", Defaults.greeting, "How shall I greet?");
greeting = greetingProperty.getString();