Merge pull request #985 from tylerthardy/herbiboarFixes

Herbiboar fixes
This commit is contained in:
Adam
2018-03-16 13:42:33 -04:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ public enum Varbits
HB_TRAIL_31363(5747),
HB_TRAIL_31366(5748),
HB_TRAIL_31369(5749),
HB_TRAIL_31372(5450),
HB_TRAIL_31372(5750),
HB_FINISH(5766),
HB_STARTED(5767), //not working

View File

@@ -152,8 +152,6 @@ public class HerbiboarPlugin extends Plugin
currentTrail = null;
currentPath = -1;
//TODO: REGION CHECK
// Get trail data
for (HerbiboarTrail trail : HerbiboarTrail.values())
{
@@ -213,10 +211,11 @@ public class HerbiboarPlugin extends Plugin
case HOPPING:
case LOGGING_IN:
resetTrailData();
inHerbiboarArea = checkArea();
break;
case LOADING:
clearCache();
inHerbiboarArea = checkArea();
break;
default:
break;
}