Changeset 342


Ignore:
Timestamp:
Dec 12, 2018, 11:14:15 AM (6 years ago)
Author:
alloc
Message:

Fixed give command quality parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/AllocsCommands/Commands/Give.cs

    r326 r342  
    5656
    5757                                if (_params.Count == 4) {
    58                                         if (!int.TryParse (_params [1], out quality) || quality <= 0) {
     58                                        if (!int.TryParse (_params [3], out quality) || quality <= 0) {
    5959                                                SdtdConsole.Instance.Output ("Quality is not an integer or not greater than zero.");
    6060                                                return;
Note: See TracChangeset for help on using the changeset viewer.