Skip to content

Commit

Permalink
Improve First Person Model compatibility #329
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Jan 28, 2024
1 parent ab5468a commit c1edf52
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Fix ReplayMod Compat, thanks to Smartin-b #317 #24
- Fix Pehkui Compatibility, thanks to Leximon #326
- Improve First Person Model compatibility #329

# 1.8.3

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.3-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.4-SNAPSHOT" apply false
id "org.cadixdev.licenser" version "0.6.1"
id "io.github.juuxel.loom-quiltflower" version "1.7.+" apply false
id "me.shedaniel.unified-publishing" version "0.1.+" apply false
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
implementation ("com.github.ZsoltMolnarrr:TinyConfig:${project.tiny_config_version}")

modCompileOnly("com.terraformersmc:modmenu:${rootProject.mod_menu_version}") { transitive false }
modCompileOnly "maven.modrinth:first-person-model:${project.fpm_version}"
modCompileOnly("maven.modrinth:first-person-model:${project.fpm_version}")
}

architectury {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package net.bettercombat.compatibility;

import dev.tr7zw.firstperson.FirstPersonModelCore;
import dev.tr7zw.firstperson.api.FirstPersonAPI;

import java.util.function.Supplier;

public class FirstPersonModelHelper {
public static Supplier<Boolean> isDisabled() {
return (() -> {
return !FirstPersonModelCore.enabled;
return !FirstPersonAPI.isEnabled();
});
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit c1edf52

Please sign in to comment.