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:
parent
de65b163e2
commit
72025bc22c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user