project: Change deprecated calls
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user