Code improvements.
This commit is contained in:
@@ -94,13 +94,10 @@ public class AdminShowQuests implements IAdminCommandHandler
|
||||
val[0] = "name";
|
||||
val[1] = cmdParams[2];
|
||||
}
|
||||
if (cmdParams.length > 3)
|
||||
if ((cmdParams.length > 3) && cmdParams[3].equals("custom"))
|
||||
{
|
||||
if (cmdParams[3].equals("custom"))
|
||||
{
|
||||
val[0] = "custom";
|
||||
val[1] = cmdParams[2];
|
||||
}
|
||||
val[0] = "custom";
|
||||
val[1] = cmdParams[2];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user