Skip to content

Commit

Permalink
update mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
tildejustin committed Jul 10, 2024
1 parent c274c86 commit 50cb725
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
mappings "dev.tildejustin:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// SpeedrunAPI
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ org.gradle.parallel=true
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.16.1
yarn_mappings=1.16.1+build.21
yarn_mappings=1.16.1-build.22
loader_version=0.15.7

# Mod Properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private static Window doNotModifyWindow(Window window, @Local(argsOnly = true) G
return window;
}

@ModifyExpressionValue(method = "method_18554", at = @At(value = "INVOKE", target = "Lnet/minecraft/class_5407;method_30137()Z"))
@ModifyExpressionValue(method = "method_18554", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/resource/VideoWarningManager;canWarn()Z"))
private static boolean doNotWarnAboutFabulousGraphics(boolean original, @Local(argsOnly = true) GameOptions options) {
return original && !(options instanceof StandardGameOptions);
}
Expand Down

0 comments on commit 50cb725

Please sign in to comment.