redis tests - hashes

master
Alex 2022-03-26 20:54:07 +01:00
parent 2c9bbbf9a5
commit f0d595f0fb
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public class PostLoginListener implements Listener {
map.put("money", "101001");
map.put("state", "online");
ProxySystem.getInstance().getRedisManager().getRedisHashCommands()
.hmset("player:" + proxiedPlayer.getUniqueId().toString(), map);
.hmset("player", proxiedPlayer.getUniqueId().toString(), map);
MessageUnpacker unpacker = MessagePack.newDefaultUnpacker(packer.toByteArray());

View File

@ -13,7 +13,7 @@ public interface RedisHashCommands extends Commands {
Long hset(String key, String field, String... value);
String hmset(String key, Map<String, String> map);
String hmset(String key, String field, Map<String, String> map);
//Mono<String> hmset(Key key, Map<Key, Value> map);
}