Merge pull request #2201 from Abextm/farm-tele

farmingtracker: Prevent saving when teleporting
This commit is contained in:
Adam
2018-05-01 08:29:01 -04:00
committed by GitHub

View File

@@ -128,7 +128,7 @@ public class FarmingTrackerPlugin extends Plugin
WorldPoint loc = lastTickLoc;
lastTickLoc = client.getLocalPlayer().getWorldLocation();
if (loc == null)
if (loc == null || loc.getRegionID() != lastTickLoc.getRegionID())
{
return;
}