mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Use remaining length when needed
This commit is contained in:
parent
5ae26c44e1
commit
8b35e0db9a
@ -74,7 +74,7 @@ public class CollisionUtils {
|
||||
|
||||
// add remainingLength
|
||||
if (!collisionFound) {
|
||||
collisionFound = stepOnce(instance, originChunk, axis, sign, corners);
|
||||
collisionFound = stepOnce(instance, originChunk, axis, remainingLength, corners);
|
||||
}
|
||||
|
||||
// find the corner which moved the least
|
||||
|
Loading…
Reference in New Issue
Block a user