Skip to content

Commit b790fc6

Browse files
committed
Fix reference
1 parent 56416de commit b790fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/lambda/mixin/entity/EntityMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)