project: Change deprecated calls

This commit is contained in:
Owain van Brakel
2022-04-20 20:06:03 +02:00
parent 1e0de4c99f
commit 3a9fdb263a
2 changed files with 3 additions and 3 deletions

View File

@@ -492,7 +492,7 @@ public abstract class RSClientMixin implements RSClient
@Override
public AccountType getAccountType()
{
int varbit = getVar(Varbits.ACCOUNT_TYPE);
int varbit = getVarbitValue(Varbits.ACCOUNT_TYPE);
switch (varbit)
{
@@ -771,7 +771,7 @@ public abstract class RSClientMixin implements RSClient
@Override
public boolean isPrayerActive(Prayer prayer)
{
return getVar(prayer.getVarbit()) == 1;
return getVarbitValue(prayer.getVarbit()) == 1;
}
/**