From c16972701fbd40448e1431c0a8ea6edec6b67195 Mon Sep 17 00:00:00 2001 From: stelar7 Date: Mon, 8 Apr 2024 21:54:15 +0200 Subject: [PATCH] Enable the cache again --- .../java/no/stelar7/api/r4j/impl/lol/raw/SpectatorV5API.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/no/stelar7/api/r4j/impl/lol/raw/SpectatorV5API.java b/src/main/java/no/stelar7/api/r4j/impl/lol/raw/SpectatorV5API.java index 76b3a940..f12b8444 100644 --- a/src/main/java/no/stelar7/api/r4j/impl/lol/raw/SpectatorV5API.java +++ b/src/main/java/no/stelar7/api/r4j/impl/lol/raw/SpectatorV5API.java @@ -85,7 +85,7 @@ public SpectatorGameInfo getCurrentGame(LeagueShard server, String puuid) Optional chl = DataCall.getCacheProvider().get(URLEndpoint.V5_SPECTATOR_CURRENT, data); if (chl.isPresent()) { - //return (SpectatorConnectionInformation) chl.get(); + return (SpectatorGameInfo) chl.get(); } try