Fixed NoSuchMethodError when killing entities on Spigot servers

This commit is contained in:
Intelli 2024-11-04 13:59:04 -07:00
parent 25cef3e5c5
commit ad4b0ddf24

View File

@ -45,7 +45,7 @@ public class Bukkit_v1_21 extends Bukkit_v1_20 implements BukkitInterface {
@Override
public Object getRegistryKey(Object value) {
return ((Keyed) value).getKey().asString();
return ((Keyed) value).getKey().toString();
}
@Override