summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-04-29 17:43:18 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-04-29 17:43:18 +0200 |
commit | c28f8c07374493de31e5581dcd53ad99a2ff917a (patch) | |
tree | 5c8a2d384fa47ee3c16982c8d4d2775df5da2c0c /src/roster/query/rst_update.erl | |
parent | c21e6a963fc36005b1afd5e983049a17aff92aca (diff) |
Dialyzer error, compiles, some issues w/ client.
Dialyzer says:
bnt_join_battle.erl:103: The created fun has no local return
bnt_join_battle.erl:122: The call shr_inventory:ataxia_add_equipment(shr_equipment:unresolved(),shr_inventory:type()) does not have an opaque term of type shr_equipment:type() as 1st argument
bnt_join_battle.erl:310: Function repair_join_battle/6 will never be called
shr_inventory:ataxia_add_equipment(shr_equipment:unresolved(),shr_inventory:type())
is defined, though...
Still some hiccups with what is sent to the client.
Diffstat (limited to 'src/roster/query/rst_update.erl')
-rw-r--r-- | src/roster/query/rst_update.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster/query/rst_update.erl b/src/roster/query/rst_update.erl index 933c52c..c11e0a6 100644 --- a/src/roster/query/rst_update.erl +++ b/src/roster/query/rst_update.erl @@ -88,7 +88,7 @@ fetch_data (Player, Input) -> ), % Inventory = shr_timed_cache:fetch(inventory_db, PlayerID, InventoryID), - Inventory = shr_inventory:new(PlayerID), + Inventory = shr_inventory:default(), #query_state { |