Skip to content

Commit

Permalink
Fixing color configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkKronicle committed Jan 31, 2022
1 parent 4770101 commit 33c6ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void registerModHandlers() {
"advancedchatfilters.config.replacetype.onlymatch",
"advancedchatfilters.config.replacetype.info.onlymatch",
true,
false);
true);

// Initiate processors
MatchProcessorRegistry processorRegistry = MatchProcessorRegistry.getInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ public void save() {
filter.getName().config.setValueFromString(name.getText());
filter.getFindString().config.setValueFromString(findString.getText());
filter.getReplaceTo().config.setValueFromString(replaceString.getText());
filter.getTextColor().config.setIntegerValue(textColor.getAndRefreshColor4f().color());
filter.getTextColor().config.setValueFromString(textColor.getText());
filter.getReplaceTextColor().config.setBooleanValue(setTextColor.isCurrentlyOn());
filter.getReplaceType().config.setOptionListValue(replaceTypeWidget.getSelectedEntry());
filter.getBackgroundColor()
.config
.setIntegerValue(backgroundColor.getAndRefreshColor4f().color());
.setValueFromString(backgroundColor.getText());
filter.getReplaceBackgroundColor()
.config
.setBooleanValue(setBackgroundColor.isCurrentlyOn());
Expand Down

0 comments on commit 33c6ecd

Please sign in to comment.