Ignore null arguments in the commandLine generation method.
This commit is contained in:
parent
5504ed9af1
commit
771edea34c
@ -1022,6 +1022,9 @@ public class MassiveCommand
|
|||||||
// Then args
|
// Then args
|
||||||
for (String arg : args)
|
for (String arg : args)
|
||||||
{
|
{
|
||||||
|
// Check if null
|
||||||
|
if (arg == null) continue;
|
||||||
|
|
||||||
// First a space
|
// First a space
|
||||||
ret.append(' ');
|
ret.append(' ');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user