diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java index 2324d26..84d46a7 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java @@ -161,7 +161,7 @@ public abstract class PlayerDataManager
redisData = new HashMap<>(); redisData.put("last-online", String.valueOf(0)); redisData.put("proxy", plugin.configuration().getProxyId()); - redisData.put("ip", inetAddress.toString()); + redisData.put("ip", inetAddress.getHostAddress()); unifiedJedis.hset("redis-bungee::player::" + uuid + "::data", redisData); JSONObject data = new JSONObject();