mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-29 03:49:15 +00:00
update sparrow util
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user