9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00

update sparrow util

This commit is contained in:
XiaoMoMi
2025-03-20 16:59:48 +08:00
parent f22f04a197
commit e98ee6ee87
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ public class KeyUtils {
private KeyUtils() {}
public static Key namespacedKey2Key(NamespacedKey key) {
return Key.of(key.namespace(), key.value());
return Key.of(key.getNamespace(), key.getKey());
}
public static Key adventureKey2Key(net.kyori.adventure.key.Key key) {

View File

@@ -38,7 +38,7 @@ geantyref_version=1.3.16
zstd_version=1.5.6-9
commons_io_version=2.17.0
sparrow_nbt_version=0.3
sparrow_util_version=0.29
sparrow_util_version=0.30
fastutil_version=8.5.15
netty_version=4.1.119.Final
joml_version=1.10.8