Skip to content

Commit d8d3679

Browse files
committed
hopefully fixed for 2b
1 parent 7aa848e commit d8d3679

File tree

1 file changed

+5
-1
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/player

1 file changed

+5
-1
lines changed

common/src/main/kotlin/com/lambda/module/modules/player/PacketMine.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,12 @@ object PacketMine : Module(
10591059
}
10601060

10611061
private fun SafeContext.packetStartBreak(pos: BlockPos) {
1062+
if (packets == PacketMode.Grim) {
1063+
abortBreak(pos)
1064+
stopBreak(pos)
1065+
}
10621066
startBreak(pos)
1063-
if (packets != PacketMode.Vanilla || doubleBreak) abortBreak(pos)
1067+
if (packets == PacketMode.NCP) abortBreak(pos)
10641068
if (packets == PacketMode.Grim || doubleBreak) stopBreak(pos)
10651069
}
10661070

0 commit comments

Comments
 (0)