mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2025-04-20 01:27:07 +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<>();
|
Map<String, String> redisData = new HashMap<>();
|
||||||
redisData.put("last-online", String.valueOf(0));
|
redisData.put("last-online", String.valueOf(0));
|
||||||
redisData.put("proxy", plugin.configuration().getProxyId());
|
redisData.put("proxy", plugin.configuration().getProxyId());
|
||||||
redisData.put("ip", inetAddress.toString());
|
redisData.put("ip", inetAddress.getHostAddress());
|
||||||
unifiedJedis.hset("redis-bungee::player::" + uuid + "::data", redisData);
|
unifiedJedis.hset("redis-bungee::player::" + uuid + "::data", redisData);
|
||||||
|
|
||||||
JSONObject data = new JSONObject();
|
JSONObject data = new JSONObject();
|
||||||
|
Loading…
Reference in New Issue
Block a user