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