From 91f41c55de055c3ad5faf8928ce8f9bc2b8b84b4 Mon Sep 17 00:00:00 2001 From: games647 Date: Wed, 21 Sep 2016 13:24:26 +0200 Subject: [PATCH] Finally set a value to the API column --- CHANGELOG.md | 1 + .../github/games647/fastlogin/core/shared/JoinManagement.java | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5d49f8a..9b1b5cbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ######1.10 * Remove deprecated API methods from the last version +* Finally set a value to the API column ######1.9 diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java index 4a1820e3..e1204ab1 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java @@ -26,6 +26,7 @@ public abstract class JoinManagement { SharedConfig config = core.getConfig(); String ip = source.getAddress().getAddress().getHostAddress(); + profile.setLastIp(ip); try { if (profile.getUserId() == -1) { if (core.getPendingLogins().remove(ip + username) != null && config.get("secondAttemptCracked", false)) {