From 45f5bfb8efcd37aad57fb808a89509375fd891d7 Mon Sep 17 00:00:00 2001 From: Aviv Cohn Date: Thu, 10 Oct 2024 16:34:13 -0400 Subject: [PATCH] feat: use updated string format method --- src/EssentialsPluginTemplateDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EssentialsPluginTemplateDevice.cs b/src/EssentialsPluginTemplateDevice.cs index b6d2031..940a4ac 100644 --- a/src/EssentialsPluginTemplateDevice.cs +++ b/src/EssentialsPluginTemplateDevice.cs @@ -199,7 +199,7 @@ namespace EssentialsPluginTemplate { if (string.IsNullOrEmpty(text)) return; - _comms.SendText(string.Format("{0}{1}", text, CommsDelimiter)); + _comms.SendText($"{text}{CommsDelimiter}"); } // TODO [ ] If not using an HEX/byte based API, delete the properties below