Merge pull request #277 from SomeoneWithAnInternetConnection/fix-plugin-archetype
Actually fix example plugin archetype, and add a test to make sure it stays that way
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
sourceEncoding=UTF-8
|
||||
groupId=org.example.runelite
|
||||
artifactId=exampleplugin
|
||||
version=1.0.0-SNAPSHOT
|
||||
package=org.example.runelite.exampleplugin
|
||||
@@ -0,0 +1 @@
|
||||
clean verify
|
||||
Reference in New Issue
Block a user