Skip to content

Commit 51adeec

Browse files
committed
was accidentally breaking blocks a tick too fast and re added access widener
1 parent 3654ee9 commit 51adeec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ object BreakManager : RequestHandler<BreakRequest>() {
295295
} else {
296296
info.apply {
297297
breaking = true
298-
breakingTicks = 1
298+
breakingTicks = 0
299299
soundsCooldown = 0.0f
300300
}
301301
if (info.breakConfig.breakingTexture) {

common/src/main/resources/lambda.accesswidener

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ accessible field net/minecraft/client/network/AbstractClientPlayerEntity playerL
2828
accessible field net/minecraft/entity/LivingEntity jumpingCooldown I
2929
accessible field net/minecraft/entity/Entity pos Lnet/minecraft/util/math/Vec3d;
3030
accessible field net/minecraft/client/network/ClientPlayerInteractionManager lastSelectedSlot I
31+
accessible method net/minecraft/entity/LivingEntity getHandSwingDuration ()I
3132

3233
# Camera
3334
accessible method net/minecraft/client/render/Camera setPos (DDD)V

0 commit comments

Comments
 (0)