Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Updated Upstream (Folia)
Browse files Browse the repository at this point in the history
Upstream has released updates that appear to apply and compile correctly

Folia Changes:
PaperMC/Folia@d4bc338 Update Paper
  • Loading branch information
404Setup committed Dec 4, 2024
1 parent 916d5a0 commit e90c6fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = one.tranic.sewlia
version = 1.21.4-R0.1-SNAPSHOT

foliaCommit = ff947a77c75567040e0f71f4ea3e8e21e11555bb
foliaCommit = d4bc33870b263650b9a023c439fbca92f8623992

org.gradle.caching = true
org.gradle.parallel = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Subject: [PATCH] Leaves: Fix Incorrect Collision Behavior for Block Shape


diff --git a/src/main/java/ca/spottedleaf/moonrise/patches/collisions/CollisionUtil.java b/src/main/java/ca/spottedleaf/moonrise/patches/collisions/CollisionUtil.java
index 5b66bce045ae74a3f8cae74302fddc40703cb13e..8b6abd402f33380eb321e1b9f985ccce03e281c8 100644
index c7ce32b31fc4247e72baa5f2dedac7378fa708c3..d63b0959843bf33f598e0abd595f834f5b0d49a2 100644
--- a/src/main/java/ca/spottedleaf/moonrise/patches/collisions/CollisionUtil.java
+++ b/src/main/java/ca/spottedleaf/moonrise/patches/collisions/CollisionUtil.java
@@ -101,6 +101,14 @@ public final class CollisionUtil {
Expand All @@ -23,7 +23,7 @@ index 5b66bce045ae74a3f8cae74302fddc40703cb13e..8b6abd402f33380eb321e1b9f985ccce
// assume !isEmpty(target) && abs(source_move) >= COLLISION_EPSILON
public static double collideX(final AABB target, final AABB source, final double source_move) {
if ((source.minY - target.maxY) < -COLLISION_EPSILON && (source.maxY - target.minY) > COLLISION_EPSILON &&
@@ -2042,7 +2050,10 @@ public final class CollisionUtil {
@@ -2015,7 +2023,10 @@ public final class CollisionUtil {
AABB singleAABB = ((CollisionVoxelShape)blockCollision).moonrise$getSingleAABBRepresentation();
if (singleAABB != null) {
singleAABB = singleAABB.move((double)blockX, (double)blockY, (double)blockZ);
Expand Down

0 comments on commit e90c6fc

Please sign in to comment.