Untangling the mods.

This commit is contained in:
Ottermandias 2023-04-17 09:35:54 +02:00
parent 1d82e882ed
commit 4972dd1c9f
39 changed files with 883 additions and 935 deletions

View file

@ -550,19 +550,19 @@ public class CommandHandler : IDisposable
private void Print(string text)
{
if (Penumbra.Config.PrintSuccessfulCommandsToChat)
if (_config.PrintSuccessfulCommandsToChat)
_chat.Print(text);
}
private void Print(DefaultInterpolatedStringHandler text)
{
if (Penumbra.Config.PrintSuccessfulCommandsToChat)
if (_config.PrintSuccessfulCommandsToChat)
_chat.Print(text.ToStringAndClear());
}
private void Print(Func<SeString> text)
{
if (Penumbra.Config.PrintSuccessfulCommandsToChat)
if (_config.PrintSuccessfulCommandsToChat)
_chat.Print(text());
}
}