mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-02-20 02:22:30 +01:00
Fixed NoSuchMethodError when killing entities on Spigot servers
This commit is contained in:
parent
25cef3e5c5
commit
ad4b0ddf24
@ -45,7 +45,7 @@ public class Bukkit_v1_21 extends Bukkit_v1_20 implements BukkitInterface {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object getRegistryKey(Object value) {
|
public Object getRegistryKey(Object value) {
|
||||||
return ((Keyed) value).getKey().asString();
|
return ((Keyed) value).getKey().toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user