Skip to content

Commit 1600ccb

Browse files
committed
Fix: Reset current block variables after block breaking is aborted
1 parent 7588b9f commit 1600ccb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/geysermc/geyser/session/cache/BlockBreakHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ protected void handleAbortBreaking(Vector3i position) {
374374
}
375375

376376
BlockUtils.sendBedrockStopBlockBreak(session, position.toFloat());
377+
this.clearCurrentVariables();
377378
}
378379

379380
/**

0 commit comments

Comments
 (0)