mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-04 15:31:36 +00:00
Merge branch 'movement-translation-improvement' of https://github.com/GeyserMC/Geyser into movement-translation-improvement
This commit is contained in:
@@ -82,6 +82,11 @@ public class BlockCollision {
|
||||
boundingBox.pushOutOfBoundingBox(playerCollision, Direction.WEST, xPushAwayTolerance);
|
||||
boundingBox.pushOutOfBoundingBox(playerCollision, Direction.UP, pushAwayTolerance);
|
||||
boundingBox.pushOutOfBoundingBox(playerCollision, Direction.DOWN, pushAwayTolerance);
|
||||
|
||||
correctPosition(session, x, y, z, boundingBox, playerCollision);
|
||||
|
||||
// Revert back to the old collision size.
|
||||
playerCollision.expand(-collisionExpansion, 0, -collisionExpansion);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2022 GeyserMC. http://geysermc.org
|
||||
* Copyright (c) 2019-2025 GeyserMC. http://geysermc.org
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2022 GeyserMC. http://geysermc.org
|
||||
* Copyright (c) 2019-2025 GeyserMC. http://geysermc.org
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
Reference in New Issue
Block a user