i know why it does not work
This commit is contained in:
parent
4fff71b2ac
commit
bd44fab93e
|
@ -22,8 +22,7 @@ public class MCPHTConfig implements ConfigData {
|
||||||
MCPHTClient.LOGGER.info("loading configs");
|
MCPHTClient.LOGGER.info("loading configs");
|
||||||
compileFilter();
|
compileFilter();
|
||||||
}
|
}
|
||||||
|
public void compileFilter() {
|
||||||
private void compileFilter() {
|
|
||||||
try {
|
try {
|
||||||
this.networkLogging.pattern = Pattern.compile(".*");
|
this.networkLogging.pattern = Pattern.compile(".*");
|
||||||
}
|
}
|
||||||
|
@ -42,6 +41,8 @@ public class MCPHTConfig implements ConfigData {
|
||||||
NAME
|
NAME
|
||||||
}
|
}
|
||||||
@ConfigEntry.Gui.Excluded
|
@ConfigEntry.Gui.Excluded
|
||||||
|
// FIXME: This field cannot be saved to a file, which causes a runtime error on saving.
|
||||||
|
// TODO: Add serialization and deserialization methods for this somehow.
|
||||||
public Pattern pattern;
|
public Pattern pattern;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue