Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Jan 8, 2025
2 parents 5cc110c + 9cf04ee commit 182a7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pluginManagement {

rootProject.name = "Trailier Tales"

localRepository("FrozenLib", "maven.modrinth:frozenlib", true, false)
localRepository("FrozenLib", "maven.modrinth:frozenlib", true, true)
localRepository("WilderWild", "maven.modrinth:wilder-wild", true, false)

fun localRepository(repo: String, dependencySub: String, kotlin: Boolean, enabled: Boolean) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void onInitialize(String modId, ModContainer container) {
GravityAPI.MODIFICATIONS.register(gravityContext -> {
if (gravityContext.entity != null) {
if (gravityContext.state.getBlock() instanceof EctoplasmBlock) {
gravityContext.gravity *= EctoplasmBlock.GRAVITY_SLOWDOWN;
gravityContext.gravity = gravityContext.gravity.scale(EctoplasmBlock.GRAVITY_SLOWDOWN);
}
}
});
Expand Down

0 comments on commit 182a7a6

Please sign in to comment.