actor mixin: fix getInteracting when index is 65535
There are short times where it is this before being set to -1
This commit is contained in:
@@ -68,7 +68,7 @@ public abstract class RSActorMixin implements RSActor
|
|||||||
public Actor getInteracting()
|
public Actor getInteracting()
|
||||||
{
|
{
|
||||||
int i = getRSInteracting();
|
int i = getRSInteracting();
|
||||||
if (i == -1)
|
if (i == -1 || i == 65535)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user