Fix BlastFurnace access levels and subscriber names

- Fix BlastFurnace overlay constructor modifiers
- Fix BlastFurnace plugin subsriber method names

See also #3911

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-10-02 10:21:29 +02:00
parent 6db26f7d38
commit 2c6cbdeb65
3 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ class BlastFurnaceClickBoxOverlay extends Overlay
private final BlastFurnaceConfig config; private final BlastFurnaceConfig config;
@Inject @Inject
BlastFurnaceClickBoxOverlay(Client client, BlastFurnacePlugin plugin, BlastFurnaceConfig config) private BlastFurnaceClickBoxOverlay(Client client, BlastFurnacePlugin plugin, BlastFurnaceConfig config)
{ {
setPosition(OverlayPosition.DYNAMIC); setPosition(OverlayPosition.DYNAMIC);
this.client = client; this.client = client;

View File

@@ -44,7 +44,7 @@ class BlastFurnaceCofferOverlay extends Overlay
private final PanelComponent panelComponent = new PanelComponent(); private final PanelComponent panelComponent = new PanelComponent();
@Inject @Inject
BlastFurnaceCofferOverlay(Client client, BlastFurnacePlugin plugin) private BlastFurnaceCofferOverlay(Client client, BlastFurnacePlugin plugin)
{ {
setPosition(OverlayPosition.TOP_LEFT); setPosition(OverlayPosition.TOP_LEFT);
this.client = client; this.client = client;

View File

@@ -93,7 +93,7 @@ public class BlastFurnacePlugin extends Plugin
} }
@Subscribe @Subscribe
public void onGameObjectSpawn(GameObjectSpawned event) public void onGameObjectSpawned(GameObjectSpawned event)
{ {
GameObject gameObject = event.getGameObject(); GameObject gameObject = event.getGameObject();
@@ -110,7 +110,7 @@ public class BlastFurnacePlugin extends Plugin
} }
@Subscribe @Subscribe
public void onGameObjectDespawn(GameObjectDespawned event) public void onGameObjectDespawned(GameObjectDespawned event)
{ {
GameObject gameObject = event.getGameObject(); GameObject gameObject = event.getGameObject();