File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/lambda/mixin/entity Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,15 +150,15 @@ private boolean modifyGetFlagGlowing(boolean original) {
150150 private boolean wrapSetYaw (Entity instance , float yaw ) {
151151 return (instance != Lambda .getMc ().player ||
152152 RotationLock .INSTANCE .isDisabled () ||
153- RotationLock .getRotationSettings ().getRotationMode () != RotationMode .Lock ||
153+ RotationLock .INSTANCE . getRotationConfig ().getRotationMode () != RotationMode .Lock ||
154154 RotationLock .getYawMode () == RotationLock .RotationMode .None );
155155 }
156156
157157 @ WrapWithCondition (method = "changeLookDirection" , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/entity/Entity;setPitch(F)V" ))
158158 private boolean wrapSetPitch (Entity instance , float yaw ) {
159159 return (instance != Lambda .getMc ().player ||
160160 RotationLock .INSTANCE .isDisabled () ||
161- RotationLock .getRotationSettings ().getRotationMode () != RotationMode .Lock ||
161+ RotationLock .INSTANCE . getRotationConfig ().getRotationMode () != RotationMode .Lock ||
162162 RotationLock .getPitchMode () == RotationLock .RotationMode .None );
163163 }
164164}
You can’t perform that action at this time.
0 commit comments