From 23e461d6a2165167b14f73c6f09bcab6114162dd Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 24 Sep 2018 17:40:53 +0200 Subject: Woops, inventory_db isn't there yet... --- src/roster/query/rst_load.erl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/roster/query/rst_load.erl') diff --git a/src/roster/query/rst_load.erl b/src/roster/query/rst_load.erl index 761d1c9..7871b78 100644 --- a/src/roster/query/rst_load.erl +++ b/src/roster/query/rst_load.erl @@ -63,10 +63,15 @@ authenticate_user (Input) -> fetch_data (Player, Input) -> PlayerID = Input#input.player_id, RosterID = shr_player:get_roster_id(Player), - InventoryID = shr_player:get_inventory_id(Player), + % InventoryID = shr_player:get_inventory_id(Player), - Roster = shr_timed_cache:fetch(char_roster_db, PlayerID, RosterID), - Inventory = shr_timed_cache:fetch(char_roster_db, PlayerID, InventoryID), + Roster = shr_timed_cache:fetch(roster_db, PlayerID, RosterID), + %% TODO + %% Inventory = shr_timed_cache:fetch(inventory_db, PlayerID, InventoryID), + + io:format("[W] Using shim inventory.~n"), + + Inventory = shr_inventory:new(PlayerID), #query_state { -- cgit v1.2.3-70-g09d2