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

@@ -112,7 +112,7 @@ public class PvPUtil
{
wildernessLevel += 15;
}
if (client.getVar(Varbits.IN_WILDERNESS) == 1)
if (client.getVarbitValue(Varbits.IN_WILDERNESS) == 1)
{
wildernessLevel += getWildernessLevelFrom(client.getLocalPlayer().getWorldLocation());
}