1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

More leniency for obsidian block breaking

This commit is contained in:
onebeastchris
2025-10-29 22:33:12 +01:00
parent 27cd53ead8
commit e1e8b6734b

View File

@@ -515,7 +515,7 @@ public class BlockBreakHandler {
protected boolean mayBreak(float progress, boolean bedrockDestroyed) {
// We're tolerant here to account for e.g. obsidian breaking speeds not matching 1:1 :(
return (serverSideBlockBreaking && progress >= 1.0F) || (bedrockDestroyed && progress >= 0.7F);
return (serverSideBlockBreaking && progress >= 1.0F) || (bedrockDestroyed && progress >= 0.65F);
}
protected void destroyBlock(BlockState state, Vector3i vector, Direction direction, boolean instamine) {