From d4f3e75f0e20a39e9b12f8d8bf67ca01bac7ddcd Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Fri, 10 Aug 2018 09:40:04 +0300 Subject: [PATCH] Fixed Nickname LastSeen Patch Application --- .../database/databases/sql/patches/NicknameLastSeenPatch.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/patches/NicknameLastSeenPatch.java b/Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/patches/NicknameLastSeenPatch.java index 51c6a480e..a45bc697b 100644 --- a/Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/patches/NicknameLastSeenPatch.java +++ b/Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/patches/NicknameLastSeenPatch.java @@ -4,7 +4,6 @@ import com.djrapitops.plan.data.store.objects.Nickname; import com.djrapitops.plan.system.database.databases.sql.SQLDB; import com.djrapitops.plan.system.database.databases.sql.processing.ExecStatement; import com.djrapitops.plan.system.database.databases.sql.processing.QueryAllStatement; -import com.djrapitops.plan.system.database.databases.sql.tables.GeoInfoTable; import com.djrapitops.plan.system.database.databases.sql.tables.NicknamesTable; import com.djrapitops.plan.system.database.databases.sql.tables.UserIDTable; @@ -21,7 +20,7 @@ public class NicknameLastSeenPatch extends Patch { @Override public boolean hasBeenApplied() { - return hasColumn(GeoInfoTable.TABLE_NAME, GeoInfoTable.Col.LAST_USED.get()); + return hasColumn(NicknamesTable.TABLE_NAME, NicknamesTable.Col.LAST_USED.get()); } @Override