We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa3806 commit c930981Copy full SHA for c930981
common/src/main/kotlin/com/lambda/module/modules/player/PacketMine.kt
@@ -91,6 +91,13 @@ object PacketMine : Module(
91
listen<TickEvent.Input.Post> {
92
if (!attackedThisTick) requestBreakManager(*breakingPositions.toList().toTypedArray())
93
}
94
+
95
+ onDisable {
96
+ breakingPositions[0] = null
97
+ breakingPositions[1] = null
98
+ reBreakPos = null
99
+ attackedThisTick = false
100
+ }
101
102
103
private fun SafeContext.requestBreakManager(vararg requestPositions: BlockPos?) {
0 commit comments