Skip to content

Commit fbe367c

Browse files
committed
Fixed a mixin issue with Amecs dependency and causing false positive for malware
1 parent 52bdcce commit fbe367c

3 files changed

Lines changed: 5 additions & 20 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
## Enhanced Keybinds v4
2-
3-
- Updated README.md, added CHANGELOG.md, and bumped versions
4-
- Updated the mod icon and contributor credits in metadata
5-
- Added the Mod Publish Gradle plugin for auto-publishing
6-
- Added GitHub Actions workflows for building and publishing releases
7-
- Added a native keybind search bar carried over from More Search Bars
8-
- Added searching by keybind name, category, and assigned key
9-
- Added Ctrl+F to focus search and Escape to unfocus it
10-
- Added config load/save error logging
11-
- Removed duplicated mouse hit-testing and startup logs
12-
- Combined search with Unbound and Conflicts filters
13-
- Removed obsolete More Search Bars compatibility code
14-
- Removed unnecessary AMECS reflection
15-
- Optimized search and conflict-filter performance
16-
- Optimized individual skin-layer keybind handling
1+
Fixed a mixin issue with Amecs dependency and causing false positive for malware

‎build.gradle‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ dependencies {
5151
implementation "de.siphalor.amecs.amecs-key-modifiers:${project.amecs_version}"
5252
implementation "maven.modrinth:modmenu:${project.modmenu_version}"
5353

54-
include "de.siphalor.amecs.amecs-key-modifiers:${project.amecs_version}"
5554
}
5655

5756
processResources {
@@ -107,7 +106,7 @@ publishMods {
107106
minecraftVersionList(minecraftVersions)
108107
environment = CLIENT_ONLY
109108
requires("fabric-api", "yacl")
110-
embeds("amecs")
109+
requires("amecs")
111110
}
112111

113112
curseforge {
@@ -117,7 +116,7 @@ publishMods {
117116
minecraftVersionList(minecraftVersions)
118117
client = true
119118
requires("fabric-api", "yacl")
120-
embeds("amecs")
119+
requires("amecs")
121120
}
122121
}
123122

‎src/main/resources/fabric.mod.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"depends": {
3434
"minecraft": "${minecraft_version_requirement}",
3535
"fabricloader": ">=${loader_version}",
36-
"fabric-api": "*"
36+
"fabric-api": "*",
37+
"amecs_key_modifiers": ">=1.0.2"
3738
},
3839
"custom": {
3940
"modmenu": {

0 commit comments

Comments
 (0)