From 1660ef2364bfea8c23f809662726640e410c80a9 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Fri, 1 Jul 2022 02:27:07 +0700 Subject: [PATCH] Remove unused `GetNewLine()` method from `Command` --- sources/Commands/Command.uc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sources/Commands/Command.uc b/sources/Commands/Command.uc index 79db602..88d15bf 100644 --- a/sources/Commands/Command.uc +++ b/sources/Commands/Command.uc @@ -550,17 +550,6 @@ private final function array ParseTargets( return targetPlayers; } -// TODO: This is a hack to insert new line symbol, -// this needs to be redone in a better way -private final function BaseText.Character GetNewLine( - BaseText.Formatting formatting) -{ - local BaseText.Character newLine; - newLine.codePoint = 10; - newLine.formatting = formatting; - return newLine; -} - /** * Returns name (in lower case) of the caller command class. *