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");
|
||||
compileFilter();
|
||||
}
|
||||
|
||||
private void compileFilter() {
|
||||
public void compileFilter() {
|
||||
try {
|
||||
this.networkLogging.pattern = Pattern.compile(".*");
|
||||
}
|
||||
|
@ -42,6 +41,8 @@ public class MCPHTConfig implements ConfigData {
|
|||
NAME
|
||||
}
|
||||
@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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue