more stuff
This commit is contained in:
@@ -132,7 +132,7 @@ public class InventoryHelper(
|
||||
try
|
||||
{
|
||||
if (request.Callback is not null)
|
||||
request.Callback(rootItemToAdd.Upd.StackObjectsCount.Value);
|
||||
request.Callback((int) (rootItemToAdd.Upd.StackObjectsCount ?? 0));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ public record AddItemDirectRequest
|
||||
public bool? FoundInRaid { get; set; }
|
||||
|
||||
[JsonPropertyName("callback")]
|
||||
public Action<double>? Callback { get; set; }
|
||||
public Action<int>? Callback { get; set; }
|
||||
|
||||
[JsonPropertyName("useSortingTable")]
|
||||
public bool? UseSortingTable { get; set; }
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user