mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
fix command not working
This commit is contained in:
parent
3189989f93
commit
fbbd8a26f7
1 changed files with 2 additions and 2 deletions
|
|
@ -68,14 +68,14 @@ namespace Penumbra
|
|||
private void OnCommand( string command, string rawArgs )
|
||||
{
|
||||
var args = rawArgs.Split( ' ' );
|
||||
if( args.Length > 0 )
|
||||
if( args.Length > 0 && args[ 0 ].Length > 0 )
|
||||
{
|
||||
switch( args[ 0 ] )
|
||||
{
|
||||
case "reload":
|
||||
{
|
||||
ModManager.DiscoverMods();
|
||||
PluginInterface.Framework.Gui.Chat.Print(
|
||||
PluginInterface.Framework.Gui.Chat.Print(
|
||||
$"Reloaded Penumbra mods. You have {ModManager.Mods.ModSettings.Count} mods, {ModManager.Mods.EnabledMods.Length} of which are enabled."
|
||||
);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue