mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-19 14:41:42 +01:00
Fix rayTrace call to this.l
This commit is contained in:
parent
b83bd96847
commit
df78fbef01
@ -144,7 +144,7 @@ public class NMS {
|
|||||||
public static boolean rayTrace(LivingEntity entity, LivingEntity entity2) {
|
public static boolean rayTrace(LivingEntity entity, LivingEntity entity2) {
|
||||||
EntityLiving from = ((CraftLivingEntity) entity).getHandle();
|
EntityLiving from = ((CraftLivingEntity) entity).getHandle();
|
||||||
EntityLiving to = ((CraftLivingEntity) entity2).getHandle();
|
EntityLiving to = ((CraftLivingEntity) entity2).getHandle();
|
||||||
return from.l(to);
|
return from.m(to);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerEntityClass(Class<? extends Entity> clazz) {
|
public static void registerEntityClass(Class<? extends Entity> clazz) {
|
||||||
|
Loading…
Reference in New Issue
Block a user