mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-21 16:09:26 +00:00
update sparrow util
This commit is contained in:
@@ -8,7 +8,7 @@ public class KeyUtils {
|
|||||||
private KeyUtils() {}
|
private KeyUtils() {}
|
||||||
|
|
||||||
public static Key namespacedKey2Key(NamespacedKey key) {
|
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) {
|
public static Key adventureKey2Key(net.kyori.adventure.key.Key key) {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ geantyref_version=1.3.16
|
|||||||
zstd_version=1.5.6-9
|
zstd_version=1.5.6-9
|
||||||
commons_io_version=2.17.0
|
commons_io_version=2.17.0
|
||||||
sparrow_nbt_version=0.3
|
sparrow_nbt_version=0.3
|
||||||
sparrow_util_version=0.29
|
sparrow_util_version=0.30
|
||||||
fastutil_version=8.5.15
|
fastutil_version=8.5.15
|
||||||
netty_version=4.1.119.Final
|
netty_version=4.1.119.Final
|
||||||
joml_version=1.10.8
|
joml_version=1.10.8
|
||||||
|
|||||||
Reference in New Issue
Block a user