Skip to content

Commit 178f35a

Browse files
committed
Fix missing merge stuff
1 parent e9d244c commit 178f35a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/src/main/kotlin/com/lambda/module/modules/combat/CrystalAura.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import com.lambda.event.listener.SafeListener.Companion.listen
2727
import com.lambda.graphics.renderer.esp.builders.ofBox
2828
import com.lambda.graphics.renderer.esp.builders.ofShape
2929
import com.lambda.interaction.RotationManager.rotate
30-
import com.lambda.interaction.rotation.RotationContext
30+
import com.lambda.interaction.rotation.RotationRequest
3131
import com.lambda.interaction.visibilty.VisibilityChecker.lookAtBlock
3232
import com.lambda.module.Module
3333
import com.lambda.module.tag.ModuleTag
@@ -108,14 +108,14 @@ object CrystalAura : Module(
108108
private val placementTargets = mutableListOf<PlacementTarget>()
109109
private val target: LivingEntity? get() = targeting.target()
110110

111-
private var currentRotation: RotationContext? = null
111+
private var currentRotation: RotationRequest? = null
112112

113113
init {
114114
listen<TickEvent.Pre> {
115115
currentRotation?.let { rotate ->
116116
if (!place) return@let
117117
if (!rotate.isValid) return@let
118-
val blockHit = rotate.hitResult?.blockResult ?: return@let
118+
val blockHit = rotate.checkedResult?.blockResult ?: return@let
119119
val inMainHand = player.mainHandStack.item == Items.END_CRYSTAL
120120
val inOffHand = player.offHandStack.item == Items.END_CRYSTAL
121121
if (!inMainHand && !inOffHand) return@let

0 commit comments

Comments
 (0)