From f984f72b78cfebb38a60eeb5f5d6def6c045f3e7 Mon Sep 17 00:00:00 2001 From: zeruth Date: Wed, 13 May 2020 16:29:06 -0400 Subject: [PATCH] hooks: expose lastGraphics for external drawing --- .../src/main/java/net/runelite/client/callback/Hooks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java b/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java index 386ebc24f3..65b47bbbce 100644 --- a/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java +++ b/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java @@ -145,7 +145,7 @@ public class Hooks implements Callbacks private boolean shouldProcessGameTick; private static MainBufferProvider lastMainBufferProvider; - private static Graphics2D lastGraphics; + public static Graphics2D lastGraphics; /** * Get the Graphics2D for the MainBufferProvider image