oωo (owo-lib)

oωo (owo-lib)

17M Downloads

[BUG] Not possible to use backslashes in config

CodexNotFound opened this issue · 0 comments

commented

Using version 0.8.2+1.19 since I can't update to 1.19.x yet.

When adding an escaped backslash in the default value of the config it's not in the text field in the modMenu anymore

@Config(name="my-config", wrapperName = "MyConfig")
public class ConfigModel {
    public String sample= "\\o;o/";
}

image

If I manually add a single backslash to this input, it will be removed the next time I open the settings. If I add two backslashes one of them is removed the next time opening the settings. Saving the settings then will result in no backslashes being saved.