Move region check to loading

This commit is contained in:
Tyler Hardy
2018-03-15 21:29:25 -05:00
parent a1fe89f24f
commit 21786dc1bf

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;
}