herbiboar plugin: only check trails when in herbiboar region

Co-authored-by: Kyle Goodale <KGoodale13@users.noreply.github.com>
This commit is contained in:
Adam
2018-12-07 21:29:11 -05:00
parent 553cc59efe
commit 9314336707

View File

@@ -232,9 +232,12 @@ public class HerbiboarPlugin extends Plugin
@Subscribe @Subscribe
public void onVarbitChanged(VarbitChanged event) public void onVarbitChanged(VarbitChanged event)
{
if (isInHerbiboarArea())
{ {
updateTrailData(); updateTrailData();
} }
}
@Subscribe @Subscribe
public void onGameObjectSpawned(GameObjectSpawned event) public void onGameObjectSpawned(GameObjectSpawned event)