inferno: method can be private

This commit is contained in:
sdburns1998
2019-07-07 14:38:59 +02:00
parent ad70f31acf
commit 1aa8107b51
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ public class InfernoOverlay extends Overlay
} }
// renders text location // renders text location
public static void renderTextLocation(Graphics2D graphics, InfernoNPC actor, String text, Color color) private static void renderTextLocation(Graphics2D graphics, InfernoNPC actor, String text, Color color)
{ {
graphics.setFont(new Font("Arial", Font.BOLD, 15)); graphics.setFont(new Font("Arial", Font.BOLD, 15));
Point textLocation = actor.getNpc().getCanvasTextLocation(graphics, text, actor.textLocHeight + 40); Point textLocation = actor.getNpc().getCanvasTextLocation(graphics, text, actor.textLocHeight + 40);

View File

@@ -120,7 +120,7 @@ public class InfernoPlugin extends Plugin
private List<Actor> waveMonsters; private List<Actor> waveMonsters;
public InfernoPlugin() private InfernoPlugin()
{ {
waveMonsters = new ArrayList<>(); waveMonsters = new ArrayList<>();
} }