2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-05 04:48:02 +00:00

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

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();