farmingtracker: Prevent saving when teleporting
When teleporting to a updating region (ardy teleport), it would save the new region's varbits to the old region's config.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user