Fixed NoSuchMethodError when killing entities on Spigot servers
This commit is contained in:
parent
25cef3e5c5
commit
ad4b0ddf24
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue