From 39ea262d320972ced1d67cec21d4a1cc1b99a76b Mon Sep 17 00:00:00 2001 From: SomeoneWithAnInternetConnection <34518321+SomeoneWithAnInternetConnection@users.noreply.github.com> Date: Wed, 20 Dec 2017 17:33:34 -0500 Subject: [PATCH] Actually fix example plugin archetype The previous fix introduced an import conflict: java.awt.Point and net.runelite.api.Point --- .../archetype-resources/src/main/java/ExampleOverlay.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runelite-plugin-archetype/src/main/resources/archetype-resources/src/main/java/ExampleOverlay.java b/runelite-plugin-archetype/src/main/resources/archetype-resources/src/main/java/ExampleOverlay.java index 18ec4428c7..6655afd7a1 100644 --- a/runelite-plugin-archetype/src/main/resources/archetype-resources/src/main/java/ExampleOverlay.java +++ b/runelite-plugin-archetype/src/main/resources/archetype-resources/src/main/java/ExampleOverlay.java @@ -5,7 +5,6 @@ package ${package}; import java.awt.Dimension; import java.awt.Graphics2D; -import java.awt.Point; import javax.annotation.Nullable; import javax.inject.Inject; import net.runelite.api.Client; @@ -29,7 +28,7 @@ public class ExampleOverlay extends Overlay } @Override - public Dimension render(Graphics2D graphics, Point parent) + public Dimension render(Graphics2D graphics, java.awt.Point parent) { if (client.getGameState() != GameState.LOGGED_IN || !config.enabled()) {