chore: ignore warning
This commit is contained in:
parent
98529ee9b1
commit
d7e43eb087
|
@ -6,6 +6,7 @@ using Lumina.Excel.GeneratedSheets;
|
||||||
using XivCommon;
|
using XivCommon;
|
||||||
|
|
||||||
namespace PeepingTom {
|
namespace PeepingTom {
|
||||||
|
// ReSharper disable once ClassNeverInstantiated.Global
|
||||||
public class PeepingTomPlugin : IDalamudPlugin {
|
public class PeepingTomPlugin : IDalamudPlugin {
|
||||||
public string Name => "Peeping Tom";
|
public string Name => "Peeping Tom";
|
||||||
|
|
||||||
|
@ -70,7 +71,7 @@ namespace PeepingTom {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnCommand(string command, string args) {
|
private void OnCommand(string command, string args) {
|
||||||
if (args == "config" || args == "c") {
|
if (args is "config" or "c") {
|
||||||
this.Ui.SettingsOpen = true;
|
this.Ui.SettingsOpen = true;
|
||||||
} else {
|
} else {
|
||||||
this.Ui.WantsOpen = true;
|
this.Ui.WantsOpen = true;
|
||||||
|
|
Loading…
Reference in New Issue