Skip to content

Commit

Permalink
Add dependency check for minihudI18n
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen committed Aug 12, 2024
1 parent fea26a2 commit 13f92b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/plusls/MasaGadget/game/Configs.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public class Configs {
public static MagicConfigDouble showOriginalConfigNameScale = Configs.cf.newConfigDouble("showOriginalConfigNameScale", 0.65, 0, 2);

// MiniHUD
@Dependencies(require = @Dependency(ModId.minihud))
@Dependencies(require = @Dependency(value = ModId.minihud, versionPredicates = "<0.31.999-sakura.21"))
@Config(category = ConfigCategory.MINIHUD)
public static MagicConfigBoolean minihudI18n = Configs.cf.newConfigBoolean("minihudI18n", false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

@Dependencies(require = @Dependency(ModId.minihud))
@Dependencies(require = @Dependency(value = ModId.minihud, versionPredicates = "<0.31.999-sakura.21"))
@Mixin(value = RenderHandler.class, remap = false)
public class MixinRenderHandler {
@Unique
Expand Down
6 changes: 3 additions & 3 deletions versions/1.21.0-fabric/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies.minecraft_version=1.21

# Compatible Libraries
dependencies.api.itemscroller_version=1.21-sakura.7
dependencies.api.litematica_version=1.21-0.19.0
dependencies.api.minihud_version=1.21-sakura.16
dependencies.api.tweakeroo_version=1.21-sakura.23
dependencies.api.litematica_version=1.21-0.19.2-alpha.1
dependencies.api.minihud_version=1.21-sakura.23
dependencies.api.tweakeroo_version=1.21-sakura.24

# Publish properties
publish.game_version=1.21

0 comments on commit 13f92b5

Please sign in to comment.