Add shutDown to BossTimersPlugin
Remove all RespawnTimers on BossTimersPlugin shutdown Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -43,6 +43,12 @@ public class BossTimersPlugin extends Plugin
|
|||||||
@Inject
|
@Inject
|
||||||
InfoBoxManager infoBoxManager;
|
InfoBoxManager infoBoxManager;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void shutDown() throws Exception
|
||||||
|
{
|
||||||
|
infoBoxManager.removeIf(t -> t instanceof RespawnTimer);
|
||||||
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onActorDeath(ActorDeath death)
|
public void onActorDeath(ActorDeath death)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user