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
|
||||
InfoBoxManager infoBoxManager;
|
||||
|
||||
@Override
|
||||
protected void shutDown() throws Exception
|
||||
{
|
||||
infoBoxManager.removeIf(t -> t instanceof RespawnTimer);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
public void onActorDeath(ActorDeath death)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user