Swapped search case. [skip ci]

This commit is contained in:
James Cole 2017-10-30 17:34:56 +01:00
parent 7696dd7148
commit f6ab6d285f
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -201,13 +201,13 @@ class Search implements SearchInterface
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountIs($amount);
break;
case 'amount_min':
case 'amount_max':
case 'amount_less':
$amount = app('steam')->positive(strval($modifier['value']));
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));
$collector->amountLess($amount);
break;
case 'amount_max':
case 'amount_min':
case 'amount_more':
$amount = app('steam')->positive(strval($modifier['value']));
Log::debug(sprintf('Set "%s" using collector with value "%s"', $modifier['type'], $amount));