worldmap: use boosted level for map icon tooltips

This commit is contained in:
Usman Akhtar
2021-02-03 17:18:16 -05:00
committed by GitHub
parent 263b02ac14
commit 4f6f518a15

View File

@@ -186,7 +186,7 @@ public class WorldMapPlugin extends Plugin
{ {
case AGILITY: case AGILITY:
{ {
int newAgilityLevel = statChanged.getLevel(); int newAgilityLevel = statChanged.getBoostedLevel();
if (newAgilityLevel != agilityLevel) if (newAgilityLevel != agilityLevel)
{ {
agilityLevel = newAgilityLevel; agilityLevel = newAgilityLevel;
@@ -196,7 +196,7 @@ public class WorldMapPlugin extends Plugin
} }
case WOODCUTTING: case WOODCUTTING:
{ {
int newWoodcutLevel = statChanged.getLevel(); int newWoodcutLevel = statChanged.getBoostedLevel();
if (newWoodcutLevel != woodcuttingLevel) if (newWoodcutLevel != woodcuttingLevel)
{ {
woodcuttingLevel = newWoodcutLevel; woodcuttingLevel = newWoodcutLevel;