mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix redraw not working with names anymore.
This commit is contained in:
parent
a9065d97d3
commit
25b65ce628
1 changed files with 7 additions and 3 deletions
|
|
@ -245,7 +245,7 @@ public class Penumbra : IDalamudPlugin
|
||||||
const string modsEnabled = "Your mods have now been enabled.";
|
const string modsEnabled = "Your mods have now been enabled.";
|
||||||
const string modsDisabled = "Your mods have now been disabled.";
|
const string modsDisabled = "Your mods have now been disabled.";
|
||||||
|
|
||||||
var args = rawArgs.Split( new[] { ' ' }, 3 );
|
var args = rawArgs.Split( new[] { ' ' }, 2 );
|
||||||
if( args.Length > 0 && args[ 0 ].Length > 0 )
|
if( args.Length > 0 && args[ 0 ].Length > 0 )
|
||||||
{
|
{
|
||||||
switch( args[ 0 ] )
|
switch( args[ 0 ] )
|
||||||
|
|
@ -300,9 +300,13 @@ public class Penumbra : IDalamudPlugin
|
||||||
}
|
}
|
||||||
case "collection":
|
case "collection":
|
||||||
{
|
{
|
||||||
if( args.Length == 3 )
|
if( args.Length == 2 )
|
||||||
{
|
{
|
||||||
SetCollection( args[ 1 ], args[ 2 ] );
|
args = args[ 1 ].Split( new[] { ' ' }, 2 );
|
||||||
|
if( args.Length == 2 )
|
||||||
|
{
|
||||||
|
SetCollection( args[ 0 ], args[ 1 ] );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue