Dispose of BufferedImage graphics in overlay util
This commit is contained in:
@@ -192,6 +192,7 @@ public class OverlayUtil
|
|||||||
graphics.drawImage(bufferedImage, pos.getX(), pos.getY(), null);
|
graphics.drawImage(bufferedImage, pos.getX(), pos.getY(), null);
|
||||||
|
|
||||||
bufferedImageGraphics.setPaint(startPaint);
|
bufferedImageGraphics.setPaint(startPaint);
|
||||||
|
bufferedImageGraphics.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void renderMinimapLocation(Graphics2D graphics, Point mini, Color color)
|
public static void renderMinimapLocation(Graphics2D graphics, Point mini, Color color)
|
||||||
|
|||||||
Reference in New Issue
Block a user