style: change some weird syntax
This commit is contained in:
parent
3f97ac642a
commit
c349ab4b07
|
@ -206,7 +206,7 @@ namespace PeepingTom {
|
|||
return;
|
||||
}
|
||||
|
||||
using WaveChannel32 channel = new(reader) {
|
||||
using var channel = new WaveChannel32(reader) {
|
||||
Volume = this.Plugin.Config.SoundVolume,
|
||||
PadWithZeroes = false,
|
||||
};
|
||||
|
@ -226,7 +226,7 @@ namespace PeepingTom {
|
|||
}
|
||||
|
||||
private void SendError(string message) {
|
||||
Payload[] payloads = {
|
||||
var payloads = new Payload[] {
|
||||
new TextPayload($"[{this.Plugin.Name}] {message}"),
|
||||
};
|
||||
this.Plugin.Interface.Framework.Gui.Chat.PrintChat(new XivChatEntry {
|
||||
|
|
Loading…
Reference in New Issue