Skip to content

Commit

Permalink
Adjust 1.20.1 properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
Provismet committed Feb 12, 2024
1 parent 46c2b3c commit 60ab914
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.1
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.15.6

# Mod Properties
Expand All @@ -14,7 +14,7 @@ maven_group=com.provismet
archives_base_name=provihealth

# Dependencies
fabric_version=0.89.1+1.20.2
cloth_version=12.0.111
modmenu_version=8.0.0-beta.2
fabric_version=0.91.0+1.20.1
cloth_version=11.1.106
modmenu_version=7.1.0
lilylib_version=1.1.3-mc1.20
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void onHudRender (DrawContext drawContext, float tickDelta) {
if (this.healthBarDuration > 0f) this.healthBarDuration -= tickDelta;
else this.reset();

if (!MinecraftClient.isHudEnabled() || MinecraftClient.getInstance().getDebugHud().shouldShowDebugHud() || MinecraftClient.getInstance().player.isSpectator()) return;
if (!MinecraftClient.isHudEnabled() || MinecraftClient.getInstance().options.debugEnabled || MinecraftClient.getInstance().player.isSpectator()) return;

boolean isNew = false;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"accessWidener": "provihealth.accesswidener",
"depends": {
"fabricloader": ">=0.15.0",
"minecraft": "~1.20.2",
"minecraft": "~1.20 <1.20.2",
"java": ">=17",
"fabric-api": "*",
"lilylib": "*"
Expand Down

0 comments on commit 60ab914

Please sign in to comment.