Fix small bug when using text commands to enable or disable Penumbra.

This commit is contained in:
Ottermandias 2022-11-14 13:33:14 +01:00
parent b3a993a2bc
commit 4df8f720f5

View file

@ -410,15 +410,15 @@ public class Penumbra : IDalamudPlugin
case "enable": case "enable":
{ {
Dalamud.Chat.Print( Enable() Dalamud.Chat.Print( Enable()
? "Your mods are already enabled. To disable your mods, please run the following command instead: /penumbra disable" ? modsEnabled
: modsEnabled ); : "Your mods are already enabled. To disable your mods, please run the following command instead: /penumbra disable" );
break; break;
} }
case "disable": case "disable":
{ {
Dalamud.Chat.Print( Disable() Dalamud.Chat.Print( Disable()
? "Your mods are already disabled. To enable your mods, please run the following command instead: /penumbra enable" ? modsDisabled
: modsDisabled ); : "Your mods are already disabled. To enable your mods, please run the following command instead: /penumbra enable" );
break; break;
} }
case "toggle": case "toggle":