Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit fe42cd0

Browse files
authored
Merge pull request #16 from diademiemi/main
Update to 1.19.4
2 parents caf0b1b + a21df9d commit fe42cd0

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
2525
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
2626
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
27-
modImplementation "fi.dy.masa.malilib:malilib-fabric-1.19.3:${project.malilib_version}"
27+
modImplementation "fi.dy.masa.malilib:malilib-fabric-1.19.4:${project.malilib_version}"
2828
modImplementation "com.github.DarkKronicle:AdvancedChatCore:${project.advancedchat_version}"
2929

3030
implementation 'org.openjdk.nashorn:nashorn-core:15.3'

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
minecraft_version=1.19.3
2-
yarn_mappings=1.19.3+build.2
3-
loader_version=0.14.11
4-
fabric_api_version=0.68.1+1.19.3
1+
minecraft_version=1.19.4
2+
yarn_mappings=1.19.4+build.1
3+
loader_version=0.14.18
4+
fabric_api_version=0.76.0+1.19.4
55

6-
mod_version=1.2.7
6+
mod_version=1.2.8
77
maven_group=io.github.darkkronicle
88
archives_base_name=AdvancedChatFilters
99

10-
malilib_version = 0.14.0
10+
malilib_version = 0.15.2
1111
org.gradle.jvmargs=-Xmx1G
12-
advancedchat_version=v1.5.9
12+
advancedchat_version=v1.5.10
1313
owo_version=2.0.0
1414

1515
# publishing

src/main/java/io/github/darkkronicle/advancedchatfilters/config/gui/GuiFilterEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private void createButtons(int x, int y) {
178178

179179
y += this.addLabel(x, y, filter.getReplaceType().config) + 2;
180180
replaceTypeWidget = new WidgetDropDownList<>(x, y, 100, 20, 200, 10, ImmutableList.copyOf(MatchReplaceRegistry.getInstance().getAll()), MatchReplaceRegistry.MatchReplaceOption::getDisplayName);
181-
replaceTypeWidget.setZLevel(getZOffset() + 100);
181+
replaceTypeWidget.setZLevel(replaceTypeWidget.getHeight() + 100);
182182
replaceTypeWidget.setSelectedEntry((MatchReplaceRegistry.MatchReplaceOption) filter.getReplaceType().config.getOptionListValue());
183183
this.addWidget(replaceTypeWidget);
184184
y += stripColors.getHeight() + 4;

src/main/java/io/github/darkkronicle/advancedchatfilters/config/gui/SharingScreen.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ public void init() {
5050
text.setMaxLength(12800);
5151
if (starting != null) {
5252
text.setText(starting);
53-
text.setTextFieldFocused(true);
53+
text.setFocused(true);
5454
}
55-
text.changeFocus(true);
55+
text.setFocused(true);
5656
text.setDrawsBackground(true);
5757
text.setEditable(true);
58-
text.changeFocus(true);
58+
text.setFocused(true);
5959
this.addTextField(text, null);
6060
String filterName = ButtonListener.Type.IMPORT_FILTER.getDisplayName();
6161
int filterWidth = StringUtils.getStringWidth(filterName) + 10;

src/main/java/io/github/darkkronicle/advancedchatfilters/filters/processors/SoundProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public SoundScreen(Screen parent) {
190190
10,
191191
ImmutableList.copyOf(Filter.NotifySound.values()),
192192
Filter.NotifySound::getDisplayName);
193-
this.widgetDropDown.setZLevel(this.getZOffset() + 100);
193+
this.widgetDropDown.setZLevel(this.widgetDropDown.getHeight() + 100);
194194
this.setTitle(StringUtils.translate("advancedchatfilters.screen.sound"));
195195
}
196196

src/main/resources/fabric.mod.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
]
2121
},
2222
"depends": {
23-
"fabricloader": ">=0.13.0",
23+
"fabricloader": ">=0.14.18",
2424
"fabric": "*",
25-
"minecraft": ">=1.19.3",
26-
"malilib": ">=0.13.0",
27-
"advancedchatcore": ">=1.4.0-1.18"
25+
"minecraft": ">=1.19.4",
26+
"malilib": ">=0.15.2",
27+
"advancedchatcore": ">=1.5.10-1.18"
2828
},
2929
"custom": {
3030
"acmodule": true,

0 commit comments

Comments
 (0)