Fix for response object, and renamed ObjectBuilderFactory more appropriately.

This commit is contained in:
Matthew Cech
2021-01-02 15:43:12 -08:00
parent e3ddf5d10e
commit f6b35109bf
7 changed files with 25 additions and 21 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import core.Command;
import core.Constants;
import core.DatabaseManager;
import core.LocStrings;
import core.ObjectBuilderFactory;
import core.ObjectBuilder;
import dataStructures.KittyChannel;
import dataStructures.KittyEmbed;
import dataStructures.KittyGuild;
@@ -98,7 +98,7 @@ public class CommandLeaderboard extends Command
{
// Only now that we've sorted do we do the full construction and caching of users
Pair<Long, String> userPair = users.get(i);
KittyUser cachedUser = ObjectBuilderFactory.getKittyUser(guildID, userPair.Second);
KittyUser cachedUser = ObjectBuilder.getKittyUser(guildID, userPair.Second);
if(cachedUser == null)
continue;