File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
common/src/main/kotlin/com/lambda/event/events Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import com.lambda.interaction.visibilty.VisibilityChecker.findRotation
1111import com.lambda.threading.runSafe
1212import com.lambda.util.world.raycast.RayCastUtils.blockResult
1313import com.lambda.util.world.raycast.RayCastUtils.entityResult
14- import net.minecraft.entity.LivingEntity
14+ import net.minecraft.entity.Entity
1515import net.minecraft.util.math.BlockPos
1616import net.minecraft.util.math.Direction
1717
@@ -37,7 +37,7 @@ abstract class RotationEvent : Event {
3737 fun lookAtEntity (
3838 rotationConfig : IRotationConfig ,
3939 interactionConfig : InteractionConfig ,
40- entity : LivingEntity
40+ entity : Entity
4141 ) {
4242 runSafe {
4343 findRotation(rotationConfig, interactionConfig, listOf (entity.boundingBox)) {
@@ -68,4 +68,4 @@ abstract class RotationEvent : Event {
6868 }
6969
7070 class Post (val context : RotationContext ) : RotationEvent()
71- }
71+ }
You can’t perform that action at this time.
0 commit comments