Merge pull request #2201 from Abextm/farm-tele
farmingtracker: Prevent saving when teleporting
This commit is contained in:
@@ -128,7 +128,7 @@ public class FarmingTrackerPlugin extends Plugin
|
|||||||
|
|
||||||
WorldPoint loc = lastTickLoc;
|
WorldPoint loc = lastTickLoc;
|
||||||
lastTickLoc = client.getLocalPlayer().getWorldLocation();
|
lastTickLoc = client.getLocalPlayer().getWorldLocation();
|
||||||
if (loc == null)
|
if (loc == null || loc.getRegionID() != lastTickLoc.getRegionID())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user