mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 02:55:45 +01:00
Add disambiguation method for compiling with latest spigot
This commit is contained in:
parent
cf07a5a379
commit
7c203235c4
@ -1614,6 +1614,10 @@ public class NMSImpl implements NMSBridge {
|
||||
return ((CraftEntity) entity).getHandle();
|
||||
}
|
||||
|
||||
private static EntityLiving getHandle(Tameable entity) {
|
||||
return (EntityLiving) NMSImpl.getHandle((org.bukkit.entity.Entity) entity);
|
||||
}
|
||||
|
||||
public static float getHeadYaw(EntityLiving handle) {
|
||||
return handle.getHeadRotation();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user