fix wrong use method of inetaddres in player data manager

This commit is contained in:
mohammed jasem alaajel 2024-04-14 13:19:08 +04:00
parent de65b163e2
commit 72025bc22c
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ public abstract class PlayerDataManager<P, LE, DE, PS extends IPubSubMessageEven
Map<String, String> 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();