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:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user