Skip to content

Commit a6737f5

Browse files
committed
more specific break timeout warnings
1 parent 0c021c6 commit a6737f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ object BrokenBlockHandler {
5757
val loaded = world.isChunkLoaded(ChunkSectionPos.getSectionCoord(pos.x), ChunkSectionPos.getSectionCoord(pos.z))
5858
if (!loaded) return@let
5959

60-
info("${info::class.simpleName} at ${info.context.expectedPos.toShortString()} timed out")
60+
if (!info.broken) info("${info::class.simpleName} at ${info.context.expectedPos.toShortString()} timed out")
61+
else info("${info::class.simpleName}'s item drop at ${info.context.expectedPos.toShortString()} timed out")
6162

6263
val awaitThenBreak = info.breakConfig.breakConfirmation != BreakConfirmationMode.AwaitThenBreak
6364
if (!info.broken && awaitThenBreak) {

0 commit comments

Comments
 (0)