Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit d5e7bbb

Browse files
committed
Forgot to call configure
1 parent be14d48 commit d5e7bbb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

patches/server/0032-CarpetFix-incorrectBounceLogicFix.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ Subject: [PATCH] CarpetFix: incorrectBounceLogicFix
66
You can find the original code on https://github.com/fxmorin/carpet-fixes
77

88
diff --git a/src/main/java/net/minecraft/world/level/block/SlimeBlock.java b/src/main/java/net/minecraft/world/level/block/SlimeBlock.java
9-
index fa9d3839b12e7f0485c91ae9a2f600314f41b893..18d72de4ee1c227675c636fb5b86fba6a468675f 100644
9+
index fa9d3839b12e7f0485c91ae9a2f600314f41b893..9c8a811fb708f52613404035d64589f29e48c251 100644
1010
--- a/src/main/java/net/minecraft/world/level/block/SlimeBlock.java
1111
+++ b/src/main/java/net/minecraft/world/level/block/SlimeBlock.java
12-
@@ -44,6 +44,8 @@ public class SlimeBlock extends HalfTransparentBlock {
12+
@@ -44,6 +44,9 @@ public class SlimeBlock extends HalfTransparentBlock {
1313
Vec3 vec3 = entity.getDeltaMovement();
1414
if (vec3.y < 0.0) {
1515
double d = entity instanceof LivingEntity ? 1.0 : 0.8;
1616
+
17-
+ entity.setOnGround(vec3.y > -0.15);
17+
+ if (one.tranic.levelpowered.vine.config.VineConfig.Fix.incorrectBounceLogic)
18+
+ entity.setOnGround(vec3.y > -0.15);
1819
entity.setDeltaMovement(vec3.x, -vec3.y * d, vec3.z);
1920
}
2021
}

0 commit comments

Comments
 (0)