chore: ignore warning

This commit is contained in:
Anna 2021-04-15 11:46:10 -04:00
parent 98529ee9b1
commit d7e43eb087
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ using Lumina.Excel.GeneratedSheets;
using XivCommon;
namespace PeepingTom {
// ReSharper disable once ClassNeverInstantiated.Global
public class PeepingTomPlugin : IDalamudPlugin {
public string Name => "Peeping Tom";
@ -70,7 +71,7 @@ namespace PeepingTom {
}
private void OnCommand(string command, string args) {
if (args == "config" || args == "c") {
if (args is "config" or "c") {
this.Ui.SettingsOpen = true;
} else {
this.Ui.WantsOpen = true;