screenshot plugin: Fix death pics again (#1206)
BONUS: fixes wilderness location overlay when in wilderness Signed-off-by: PKLite <stonewall@pklite.xyz>
This commit is contained in:
@@ -256,7 +256,7 @@ public enum WorldLocation
|
||||
s = entry.getValue();
|
||||
return s;
|
||||
}
|
||||
int distTo = worldArea.distanceTo(worldArea);
|
||||
int distTo = worldArea.distanceTo(worldPoint);
|
||||
if (distTo < dist)
|
||||
{
|
||||
dist = distTo;
|
||||
|
||||
@@ -366,7 +366,7 @@ public class ScreenshotPlugin extends Plugin
|
||||
|
||||
if (this.screenshotPlayerDeath && client.getLocalPlayer().equals(e.getActor()))
|
||||
{
|
||||
takeScreenshot("Death");
|
||||
takeScreenshot("Death - " + format(new Date()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user