time tracking: fix detection of state for seaweed patches
This commit is contained in:
@@ -186,7 +186,7 @@ public class TimeTrackingPlugin extends Plugin
|
||||
WorldPoint loc = lastTickLocation;
|
||||
lastTickLocation = client.getLocalPlayer().getWorldLocation();
|
||||
|
||||
if (loc == null || loc.getPlane() != 0 || loc.getRegionID() != lastTickLocation.getRegionID())
|
||||
if (loc == null || loc.getRegionID() != lastTickLocation.getRegionID())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public class BirdHouseTracker
|
||||
{
|
||||
boolean changed = false;
|
||||
|
||||
if (FOSSIL_ISLAND_REGIONS.contains(location.getRegionID()))
|
||||
if (FOSSIL_ISLAND_REGIONS.contains(location.getRegionID()) && location.getPlane() == 0)
|
||||
{
|
||||
final Map<BirdHouseSpace, BirdHouseData> newData = new HashMap<>();
|
||||
final long currentTime = Instant.now().getEpochSecond();
|
||||
|
||||
Reference in New Issue
Block a user