remove
This commit is contained in:
parent
62191076f6
commit
128fb5d409
|
@ -22,7 +22,7 @@ internal class Commands : IDisposable {
|
|||
case "ban":
|
||||
this.Plugin.Config.BannedTerritories.Add(this.Plugin.ClientState.TerritoryType);
|
||||
this.Plugin.SaveConfig();
|
||||
this.Plugin.Messages.SpawnVfx();
|
||||
this.Plugin.Messages.RemoveVfx();
|
||||
break;
|
||||
case "unban":
|
||||
this.Plugin.Config.BannedTerritories.Remove(this.Plugin.ClientState.TerritoryType);
|
||||
|
|
|
@ -88,6 +88,10 @@ internal class Messages : IDisposable {
|
|||
}
|
||||
|
||||
private void RemoveVfx(object? sender, EventArgs? e) {
|
||||
this.RemoveVfx();
|
||||
}
|
||||
|
||||
internal void RemoveVfx() {
|
||||
this.Plugin.Vfx.RemoveAll();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue