File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
common/src/main/kotlin/com/lambda/module/modules/render Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,15 @@ import com.lambda.event.events.PlayerEvent
2222import com.lambda.event.listener.SafeListener.Companion.listen
2323import com.lambda.interaction.request.rotation.Rotation
2424import com.lambda.module.Module
25+ import com.lambda.module.tag.ModuleTag
2526import com.lambda.util.extension.rotation
26- import net.minecraft.client.MinecraftClient
2727import net.minecraft.client.option.Perspective
2828
29+
2930object FreeLook : Module(
3031 name = " FreeLook" ,
3132 description = " Allows you to look around freely while moving" ,
32- defaultTags = setOf(com.lambda.module.tag. ModuleTag .RENDER , com.lambda.module.tag. ModuleTag . MOVEMENT )
33+ defaultTags = setOf(ModuleTag .PLAYER )
3334) {
3435 val enableYaw by setting(" Enable Yaw" , false , " Don't effect pitch if enabled" )
3536 val enablePitch by setting(" Enable Pitch" , false , " Don't effect yaw if enabled" )
@@ -51,7 +52,7 @@ object FreeLook : Module(
5152 }
5253
5354 init {
54- previousPerspective = MinecraftClient .getInstance() .options.perspective
55+ previousPerspective = Lambda .mc .options.perspective
5556
5657 onEnable {
5758 camera = player.rotation
You can’t perform that action at this time.
0 commit comments