[Fabric] Extended Armor Bars

[Fabric] Extended Armor Bars

516k Downloads

Hardcoded Windows path separator (and generic config name)

buhanec opened this issue ยท 0 comments

commented

Using a hardcoded Windows path separator in ConfigLoader.java#L10:

[...]
public class ConfigLoader {
    private static final String CONFIG_DIR = FabricLoader.getInstance().getConfigDir() + "\\";
[...]

Additionally, calling the file "config.json" in ToughnessBar.java#L18 doesn't make it awfully easy to identify, and may cause clashes with equally generically named configs:

[...]
public class ToughnessBar implements ModInitializer {
        [...]
	private static final String CONFIG_FILE = "config.json";
[...]