project: add missing api changes from #3105

This commit is contained in:
JumpIfZero
2022-01-05 17:23:48 +02:00
parent 1eb83c4eb2
commit 9da28cd644
5 changed files with 14 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ public abstract class RSGameObjectMixin implements RSGameObject
public Angle getOrientation()
{
int orientation = getModelOrientation();
int rotation = (getFlags() >> 6) & 3;
int rotation = (getConfig() >> 6) & 3;
return new Angle(rotation * 512 + orientation);
}