File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/main/kotlin/com/lambda/interaction/request/placing Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,22 @@ package com.lambda.interaction.request.placing
2020import com.lambda.interaction.construction.context.BuildContext
2121import com.lambda.interaction.construction.context.PlaceContext
2222import com.lambda.interaction.request.ActionInfo
23+ import com.lambda.interaction.request.LogContext
24+ import com.lambda.interaction.request.LogContext.Companion.buildLogContext
2325import net.minecraft.util.math.BlockPos
2426
2527data class PlaceInfo (
2628 override val context : PlaceContext ,
2729 override val pendingInteractionsList : MutableCollection <BuildContext >,
2830 val onPlace : ((BlockPos ) -> Unit )? ,
2931 val placeConfig : PlaceConfig
30- ) : ActionInfo
32+ ) : ActionInfo, LogContext {
33+ override fun toLogContext () =
34+ buildLogContext {
35+ text(" Place Info:" )
36+ pushTab()
37+ text(" Callbacks:" )
38+ pushTab()
39+ text(" onPlace: ${onPlace != null } " )
40+ }
41+ }
You can’t perform that action at this time.
0 commit comments