mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-24 16:14:26 +08:00
Fixed Nickname LastSeen Patch Application
This commit is contained in:
parent
23c8c0769f
commit
d4f3e75f0e
@ -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.SQLDB;
|
||||||
import com.djrapitops.plan.system.database.databases.sql.processing.ExecStatement;
|
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.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.NicknamesTable;
|
||||||
import com.djrapitops.plan.system.database.databases.sql.tables.UserIDTable;
|
import com.djrapitops.plan.system.database.databases.sql.tables.UserIDTable;
|
||||||
|
|
||||||
@ -21,7 +20,7 @@ public class NicknameLastSeenPatch extends Patch {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasBeenApplied() {
|
public boolean hasBeenApplied() {
|
||||||
return hasColumn(GeoInfoTable.TABLE_NAME, GeoInfoTable.Col.LAST_USED.get());
|
return hasColumn(NicknamesTable.TABLE_NAME, NicknamesTable.Col.LAST_USED.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user