mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-20 15:29:27 +00:00
More leniency for obsidian block breaking
This commit is contained in:
@@ -515,7 +515,7 @@ public class BlockBreakHandler {
|
|||||||
|
|
||||||
protected boolean mayBreak(float progress, boolean bedrockDestroyed) {
|
protected boolean mayBreak(float progress, boolean bedrockDestroyed) {
|
||||||
// We're tolerant here to account for e.g. obsidian breaking speeds not matching 1:1 :(
|
// 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) {
|
protected void destroyBlock(BlockState state, Vector3i vector, Direction direction, boolean instamine) {
|
||||||
|
|||||||
Reference in New Issue
Block a user